Programming is the task of describing the requirements in detail and accurately to the extent that machines that know only 0 and 1 can execute. The result is a code. When coding, logical and mathematical thinking is required. All concepts used in programming must be defined to enable quantification, segmentation, patterning, and solution extraction. This is called "Computer Thinking.”
Programming language is a language composed of promised Syntax and Semantics that humans can understand. After writing a program using the programming language, Compiler and Interpreter convert it into machine language.
When writing a programming language, Not only do we make sentences that fit Syntax, but we also need Semantics to ensure the role of programming language.
In other words, it is meaningful only when requirements are fulfilled and problems are resolved.
Therefore, the typeof operator should not be used when checking the null type, but the matching operator (===) should be used.
Variables declared inside the function are local variables, and
Variavles declared outside the function are global variables.
Variables declared within the code block are vaild only within the code block and cannot be referenced outside the code block.
|Assignment Operator||example||same expression|
condition ? exprIfTrue : exprIfFalse