What is JavaScript’s typeof operator used for?

2ality.com/2012/01/typeof-use-cases.html view page cached page
JavaScript’s typeof is a complicated beast – it can be used for many things, but also has many quirks. This post lists its use cases, points out problems and presents alternatives.



Interesting posts about this link


All posts about this link

  • share this page on Twitter
  • rss feed for 2ality.com
  • alerts create email alert for 2ality.com
Copy and paste this code below into your website:
customize »