Executing a Program
Compiled Language like C++ and Java. First complies the program into machine-language instructions, then executes the complied instructions.
Interpreted Language such as Python. Runs the program directly without compiling.
The Javascript engine actually compiles the program on the fly and then immediately runs the program.
Dive into Javascript
Values & Types
Only values have types in Javascript, variables are just simple containers for those values.
Objects
Bracket notation : it requires either a variable or a string literal
Special characters in a property name like obj[“Kevin”].
Get access to a property/key but the name is stored in another variable.
Top comments (0)