It is possible to assign a string to a variable initially and then reassign the variable to a number.
A programming language that has this capability is called 'Dynamically Typed'
|Value / Primitive Types||string|
|number||Prone to rounding errors|
|symbol||Added in ES 2015|
null evaluates to False in a boolean expression
undefined evaluates to False in a boolean expression
primitive data types are equal if the values match
© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext