This may lead to interesting results. When dealing with arrays, an array is converted to a string by converting the elements to string, seperating each element by a comma.
[].toString(); // ""
[2].toString(); // "2"
[1,2,3].toString(); // "1,2,3"
1More
How to become a Front-end developer in 2019 - 0 views
1 - 6 of 6
Showing 20▼ items per page