Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created July 11, 2019 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/fa5ffe08d23907944d77168149484152 to your computer and use it in GitHub Desktop.
Save goofmint/fa5ffe08d23907944d77168149484152 to your computer and use it in GitHub Desktop.
"Hello".constructor.name
// -> "String"
(new Date).constructor.name
// -> "Date"
true.constructor.name
// -> "Boolean"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment