Skip to content

Instantly share code, notes, and snippets.

@khg0712
Created June 16, 2018 06:39
Show Gist options
  • Save khg0712/d4b492ddd2f9c3ef5f37cf3334cf3f35 to your computer and use it in GitHub Desktop.
Save khg0712/d4b492ddd2f9c3ef5f37cf3334cf3f35 to your computer and use it in GitHub Desktop.
typeof 연산자 예시1
typeof undefined === "undefined"; //true
typeof true === "boolean"; //true
typeof 42 === "number"; //true
typeof "s" === "string"; //true
typeof {a:1} === "object"; //true
typeof Symbol() === "symbol"; //true
typeof null === "null"; //false
typeof null === "object" //true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment