Created
April 13, 2016 12:53
-
-
Save SangHakLee/4a382ec9744bdc3e67f0d9d5b5fa590a to your computer and use it in GitHub Desktop.
JavaScript literal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 문자열 | |
var name = "Ryan" | |
var sex = "male" | |
// 숫자 | |
var age = 26 | |
var weight = 77 | |
// 불린 | |
var happy = true; | |
var sad = false; | |
// null | |
var money = null; | |
// undefined | |
var yourGirlFriend = undefined; | |
var nothing; // 값을 할당하지 않으면 기본적으로 undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment