Skip to content

Add JavaScript typeof operator article to Articles and Posts - #1208

Open
markodenic wants to merge 1 commit into
sorrycc:masterfrom
markodenic:add-javascript-typeof-article
Open

markodenic wants to merge 1 commit into
sorrycc:masterfrom
markodenic:add-javascript-typeof-article

Conversation

@markodenic

Copy link
Copy Markdown

Checklist:

  • I've read and understood Contributing Guidelines.
  • I've added the new resource at the end of its section.
  • This resource is out there for a while, and actively maintained.
  • This resource is popular enough and has at least a few hundred stars on GitHub. (An article, so stars don't apply.)

A guide to the typeof operator: all eight possible results, the well-known quirks (typeof null, arrays, NaN) and how to check for undefined safely. Fits the Articles and Posts section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant