I was come across the code which was written in following way:
var myStr = ('abc');
console.log(myStr) // output: 'abc'
myStr === 'abc' // true
What was the use of () in above example?
I was come across the code which was written in following way:
var myStr = ('abc');
console.log(myStr) // output: 'abc'
myStr === 'abc' // true
What was the use of () in above example?