Created
July 9, 2017 09:05
-
-
Save juliomatcom/1b1510a96f7ab22a8bfba85dff3e64f7 to your computer and use it in GitHub Desktop.
Using Boolean, Number and String as functions
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
var b = Boolean(false); // false | |
var n = Number(10); // 10 | |
var s = String("foo"); // "foo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment