Latest
Exercise: Convert personal variables to an object
Data type: Object
Data types: undefined and null
Exercise: Personal variables
Data types: String, Number, and Boolean
In the last couple of lessons, we learned how to create variables and name them.
Now, let's see what data types you can store inside a variable.
So, what is a data type?
Data simply means a unit of information such as:
1. 34 (Age)
2. "Naresh
Coding styles and readability
Coding Styles
There are multiple coding styles for declaring and using variables.
We can also declare and assign values to multiple variables in the same line:
let name = "Naresh Devineni", age = 34, education = "Computer Science";
If you notice, the let keyword is used only once for