Basic JavaScript Examples & ES6+ Theory for Modern Web Development
-
π Main Reference : λλ¦Όμ½λ© by μ리
-
π Reference Modern JavaScript Tutorial
- course 1 :
'use strict'
- course 2
- bigInt
- template literal
- course 3 -
operator.js
- String concatenation
- Numeric operators
- Increment and decrement operators
- Assignment operators
- Logical OR operators
nullish_coalescing_op.js
- Equality (
==
,===
) - Conditional Operators
- Ternary operator
- Loops (
break
,continue
operator) - nullish coalescing operator
nullish_coalescing_op.js
- course 4 -
function.js
- function
- parameters
- default parameters
- Rest parameters, for .. of, forEach
- Local scope
- Decorators
call()/apply()
functionExpression.js
- anonymous function
- named function
- arrow function
- IIFE (Immediately Invoked Function Expression)
functionDeclaration.js
- local variable, outer variable
- parameter
- default value
- return value
- function naming
- course 5 :
- What is Class
class.md
,class.js
- class declaration
- Getter and Setter
- Fields (Public, Private) π
- Static properties and methods π
- Inheritance
class_inheritance.js
class_task.js
,class_task2.js
,class_task3
- instanceof operator
- course 6
object.js
: π μ°Έκ³ ν λΈλ‘κ·Έ κΈ
- literals and properties
- property value shorthand
- constructor
- in operator
- for .. in, for.. of
- cloning
π― Modern_tutorial_Objects: the basics
- objects
- Objects reference and copying
- Garbage collection
- Object methods, 'this'
- Constructor, operator 'new'
- Optional Chaining :
?
- Symbol type
7_Symbol_Type
- Object to primitive conversion
Array
: π μ°Έκ³ ν λΈλ‘κ·Έ κΈ
array_quiz.js
,array-api.js
array_useful.js
(find, map, some, every, reduce, reduceRight, filter)array.js
(Declaration, Index position, length property, Sparce Array, forEach, for of, add and remove, indexOf, lastIndexOf, array-like object, join)- π Array :
splice_ex.js
(slice, splice, join, filter μμ )
- course 7
- JSON
- course 8
- async await promise
- course 9 : Advanced working with functions
- Rest parameters and spread syntax
rest_parameter.js
,spread_syntax.js
- "argument" variable
arguments_variable.js
-
course 10 : Module System
-
course 11 : Browser and data storage in browser : How to handle page in a browser
- Document
browser_events.md
- Introduction to Events
- UI Events
arguments.callee
μ λμ
- Forms and Controls
form_and_control
(tabindex, focus/blur, focusin/focusout) - Document and Resource Loading
- Miscellaneous
- Web storage
webStorage.html
- History, Hash :
vanilla_routing.md
-
course 12 :
π― Modern_tutorial_Data types : More Data Structure and more in-depth study of the types
- Methods of primitives
- Numbers
- Strings
- Arrays
- Array methods
- Iterables
- Map and Set
- WeakMap and WeakSet
- Object.keys, values, entries
- Destructuring assignment
10_destructuring assignment
- Date and time
- JSON methods, toJSON
-
course 13 : Error Handling
π Reference w3resource
- Write a JavaScript program to display the current day and time in the following format.
setInterval
,querySelector
,date
30s_01.js
: Write a JavaScript program to compare two objects to determine if the first one contains equivalent property values to the second one.Object.keys
,hasOwnProperty()
,every()
μΉ μ κ·Όμ±μ κ΄ν μλ°μ€ν¬λ¦½νΈ λ° HTML μμ
- ν μΈλ±μ€(tabindex) | tabindex.html
- λ체 ν μ€νΈ | Alt Text
- λλμ μ λΊμ μΌλ‘ κ³μ°νλ μκ³ λ¦¬μ¦ (3-1-1.html)
- λλμ μ λΊμ μΌλ‘ κ³μ°νλ μκ³ λ¦¬μ¦ (μμμ μ΄ν κ³μ° νμ©) (3-1-2.html)
- λ¬Έμμ΄ κ²μ μκ³ λ¦¬μ¦μ λ κ°μ§ λ°©λ² (4-1-1.html)