I’ve read this many times, but still don’t understand why we would assign a string to a number…especially if it is written in numerical.
I can understand it - if numbers are included in a sentence, but, in what context does a string gets assigned to a single numerical number?
Also, can double quotes and single quotes be used interchangeably at will (for a numerical “string” / ‘string’ value?
1 != 2 // true 1 != "1" // false 1 != '1' // false 1 != true // false 0 != false // false
Thanks for your time if you read this message,