JavaScript Copy by value, Copy by reference
·
JavaScript
Memory & CPUIn programming, the CPU (Central Processing Unit) is responsible for calculations, operations, data processing, and executing instructions. It significantly impacts the "speed" of computations. In addition, memory (normally meaning RAM (Randomg Acess  Memory) is also one of the important part to improve the performance of the program. In Memory there are multiple cells are included, ..
** Array methods (Non-Mutator & Iteration) **
·
JavaScript
Array methodsIn JavaScrip, Object is most important data type. array is one of the object data type, and there are countless methods are supported. In this post, several main methods are explained with its usage.  In JavaScript array methods, some methods change the original array, which are called mutator methods, while other do not, which are called non-mutator methods. Additioanlly, there are..
** Array methods ( mutator methods )**
·
JavaScript
Array methodsIn JavaScrip, Object is most important data type. array is one of the object data type, and there are countless methods are supported. In this post, several main methods are explained with its usage.  In JavaScript array methods, some methods change the original array, which are called mutator methods, while other do not, which are called non-mutator methods. Additioanlly, there are..
**Hoisting**
·
JavaScript
Hoistingin JavaScript, the declaration of the variable, and function is refered at the top of their containing scope during the complie phase. However, the value of the variables are not assigned, reffers only declartion. It means that, the function and variable can be used before it is declared. There are two types of the hoisting which are variable, and function hoisting. 'var' hoistingA varia..
Operate (Basic)
·
JavaScript
Operators in JavaScriptArithmetic operators  => + , - , * , / , %Assignment operatorsComparison operators✨"==" && "!=" : Compare values (not recommended to use) "===" && "!==": compare values and typesRelational operatorsTernary conditional operatorLogical operatorexponentiation operatornullish coalescing operator+ shor-circuit evaluation&&: If the left side of && is true, return the right side;..
JavaScript Data Type (Basic)
·
JavaScript
Data TypeJavaScript supports a variety of data types, which are categorized into primitive and object types. The significance of data types in JavaScript stems from several key reasons. Firstly, the operations supported by JavaScript vary depending on the data type. Secondly, the amount of memoru allocated differs based on the data type, making the correct use of data types crucial for efficient..
JavaScript syntax (Basic)
·
JavaScript
What is JavaScript ?JavaScript is an essential language that application developer must learn. It is primarily a client-side scripting language supported by most major web browsers. JavaScript is used to implement most of key factors from scripts to complex web applications, mobile apps, and server development. Additionally, It serves as the foundation for several advanced technologies, includin..
hyeonB
'JavaScript' 카테고리의 글 목록