Created
June 16, 2018 06:39
-
-
Save khg0712/d4b492ddd2f9c3ef5f37cf3334cf3f35 to your computer and use it in GitHub Desktop.
typeof 연산자 예시1
This file contains hidden or 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
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