Below code demonstrates the usage of array method:
var myDelimiter = [","]
console.log(Arr1.join(myDelimiter));
Refer: https://docs.microsoft.com/en-us/scripting/javascript/reference/join-method-array-javascript
Practice at: http://jsbin.com
- join
var myDelimiter = [","]
console.log(Arr1.join(myDelimiter));
Refer: https://docs.microsoft.com/en-us/scripting/javascript/reference/join-method-array-javascript
Practice at: http://jsbin.com
No comments:
Post a Comment