Skip to content

Instantly share code, notes, and snippets.

@divya-kanak
Created January 16, 2020 10:58
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 divya-kanak/de3a1d649f07d0021ded765324d1ad2a to your computer and use it in GitHub Desktop.
Save divya-kanak/de3a1d649f07d0021ded765324d1ad2a to your computer and use it in GitHub Desktop.
JS function = object
function findme() {
console.log("Search Divya Kanak on Google!");
}
console.log(findme());
console.log(typeof findme); // => function
console.log(findme instanceof Object); // => true
console.log(findme instanceof Function); // => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment