Created
January 3, 2015 07:04
-
-
Save wingleungchoi/957b76f3905b181cc836 to your computer and use it in GitHub Desktop.
Six basic types of values in JavaScript
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
Six basic types of values in JavaScript: numbers, strings, Booleans, objects, functions, and undefined values. | |
JavaScript is a very free language. It tries to converse the type of a value to another type. There are pros and cons. Pros: more flexible a code can be. Cons: more errors a code can have. | |
As a beginner, prefer === rather than == |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment