죽여주는 JS,,,,
The first fundamental thing we have to know are the primitive types in JavaScript.
So primitive types are just types in general are a concept across ant programming language.
Primitive Types : The Basic Building Blocks
The most fundamental unit that we interact with on a daily basis or even like a minute basis.
The console is a place where I can just quickly and interactively play around with code. It's a great place to demonstrate things and just to learn the basics.
NaN is technically considered a number in JS.
Variables are like labels for values.
Basic Syntax
let someName = value;
Recall Values
Const
Const stands for Constant. Constant is a value that does not change. It remains constant.
Var : The old way of making variables.
True or False values.
In JS, you can have a variable that changes type.
In JS, identifiers are case-sensitive and can contain Unicode letters, $
, _
, and digits(0-9), but may not start with a digit.
In JS, use camelCase where each new word has a uppercase first letter except for the very first letter of the variable.
Naming functions well is crucial. Avoid one letter variables unless for some reason it makes sense and feel confident in it.