Javascript tutorials for beginners | Datatypes in javascript | Null vs Undefined

Published: 01 January 1970
on channel: Sathelli Srikanth
52
2

hello friends
in this video we are going to learn about datatypes in javascript
and NUll vs Undefined


Primitive data type
Non-primitive (reference) data type

i forgot to explain this but i have explained this in previous video so have a look at this too..
JavaScript is a dynamic type language, means you don't need to specify type of the variable because it is dynamically used by JavaScript engine. You need to use var here to specify the data type. It can hold any type of values such as numbers, strings etc. For example:

JavaScript primitive data types
There are five types of primitive data types in JavaScript. They are as follows:


String represents sequence of characters e.g. "hello"
Number represents numeric values e.g. 100
Boolean represents boolean value either false or true
Undefined represents undefined value
Null represents null i.e. no value at all

JavaScript non-primitive data types

if you like this video give it a like and
please consider subscribing


Watch video Javascript tutorials for beginners | Datatypes in javascript | Null vs Undefined online without registration, duration hours minute second in high quality. This video was added by user Sathelli Srikanth 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 52 once and liked it 2 people.