Demo: Data types in JavaScript [16 of 51] | JavaScript for Beginners

preview_player
Показать описание
While JavaScript is a weakly typed language, it still stores the variable type (such as number or string). We'll walk through the concept of what a weakly typed language is, and how the system works in JavaScript.

#JavaScript #Beginners #Tutorial #NodeJS
Рекомендации по теме
Комментарии
Автор

I wish they would've bumped up the font size a little bit.. :(

acidfreq
Автор

The number being a typeof number and then displaying as false for instanceof is confusing...

bitsandbytesuk
Автор

Would love to see al follow-up on this

marknn
Автор

why?

let x = 0 == '';
console.log(typeof x); // boolean
console.log(x instanceof Boolean); // false

!!

yacobee
visit shbcf.ru