Category: Vanilla JavaScript

0

Closure

Closure When a function is defined, it holds a reference to the external environment in which it exists. This means that a function can access variables in the scope in which it is defined, and thi

0

Function

Definition of function In JavaScript, a function is a reusable piece of code that can be called multiple times. It can accept inputs (called parameters), process these inputs, and return a result (

0

Hoisting

Determine the type of variable typeof operator. Used to determine whether a variable is a primitive type or an object type. 1console.log(typeof(a)) instanceof operator: Mainly used to detect whet

0

Operators

Relational Operators basic: > < >= <= == === (same as ==, but does not allow any type conversions) != (opposite of ==) !== (opposite of ===) == is to determine whether the values ar

0

Variable

Variable naming Variable names can be capitalized because JS is case-sensitive. Variable assignment = is an assignment symbol. The usage is to assign the value on the right side of the equal sign

0

Basic knowledge

HTML CSS is not a programming language JavaScript is a programming language (browser programming language). Web pages written in HTML CSS do not have any functionality. All functions have to be don