Snippets Collections
[1, 2, 3].join('my separator');
// "1my separator2my separator3"

[1, 2, 3].join(',');
// "1,2,3"

[1, 2, 3].join(', ');
// "1, 2, 3"

[1, 2, 3].join('sandwich');
// "1sandwich2sandwich3"
star

Tue Aug 04 2020 19:23:59 GMT+0000 (Coordinated Universal Time) https://www.freecodecamp.org/news/freecodecamp-palindrome-checker-walkthrough/

#javascript #array-methods

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension