5 ms·
JavaScript will dynamically change the effective type of a value like sting or number into another depending on the operation being performed on it: '2' * 3 =>
by L0stLink 5y ago
JavaScript will dynamically change the effective type of a value like sting or number into another depending on the operation being performed on it:
'2' * 3
=> 6
'2' + 3
=> '23'