Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created July 11, 2019 10:16
Show Gist options
  • Select an option

  • Save goofmint/fa5ffe08d23907944d77168149484152 to your computer and use it in GitHub Desktop.

Select an option

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