Skip to content

Instantly share code, notes, and snippets.

@juliomatcom
Created July 9, 2017 09:05
Show Gist options
  • Save juliomatcom/1b1510a96f7ab22a8bfba85dff3e64f7 to your computer and use it in GitHub Desktop.
Save juliomatcom/1b1510a96f7ab22a8bfba85dff3e64f7 to your computer and use it in GitHub Desktop.
Using Boolean, Number and String as functions
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