π Reference
πΒ Chapter
Definite Assignment Assertions
?.
μ μ¬μ©νλ©΄ νλ‘νΌν°κ° μλ μ€μ²© κ°μ²΄λ₯Ό μλ¬ μμ΄ μμ νκ² μ κ·Όν μ μλ€.?.
: optional chaining μ°μ°μundefined
λλ null
μ΄λ©΄ undefined
λ‘ errorλ₯Ό λμ§λ λμ μ λ°νν΄μ€λ€.?.
μ ?.
βμβμ νκ° λμμ΄ undefined
λ null
μ΄λ©΄ νκ°λ₯Ό λ©μΆκ³ undefined
λ₯Ό λ°ννλ€.null
Β λλΒ undefined
) μΈ κ²½μ° μ€λ₯λ₯Ό λ°μμν€λ λμ Β undefined
λ₯Ό λ°ννλ€.