Skip to content

Commit 222685a

Browse files
committed
added concat string element
1 parent 6b233fd commit 222685a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const anthum = 'Amar Sonar Bangla Ami Tomake Valobashi';
151151
const anotherAnotherPart = anthum.substring(2,10)
152152
console.log(anotherAnotherPart);
153153
```
154-
- concat the string.
154+
- concat() join all the string.
155155
```javascript
156156
// concat
157157
const first = 'Amar';
@@ -160,6 +160,7 @@ const second ='City';
160160
const fullString = first.concat(second).concat('@gmail')
161161
console.log(fullString);
162162
```
163+
- join() converts all string elements to an array.
163164
```javascript
164165

165166
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy