Type checking in JavaScript ( typeof and instanceof)
JavaScript is an inexactly composed language, so there is no limitation on the variable's type.
For example, on the off chance that you've made a variable with a string type, later you can assign to a similar variable a number:
let msg = 'Hello World...
shantun.hashnode.dev3 min read