toString() This method is used when you want to convert an array of comma-separated elements to a string. let arr = ["red", "blue", "white"] console.log(arr.toString()) // 'red,blue,white' join() This method behaves the same as the toString() method...
sachin132520.hashnode.dev4 min read
No responses yet.