How to get the real type of any JavaScript variable

Adrian Oprea
1 min readJun 4, 2018

--

How to get the real type of any JavaScript variable

This was originally published on https://oprea.rocks

This weekend I published a short article talking about how to create a CSV using template strings in Node.js.

I posted the link on Reddit and a couple of more places and the general feedback was something along the lines of “great article but the most interesting part is that type checking thing”.

I decided to record a short screencast, this morning, to detail how that code works and what you could use that function for. The outcome is already on YouTube and it can be viewed here.

References

--

--

Adrian Oprea
Adrian Oprea

Written by Adrian Oprea

Founder & CEO of WeRemote.EU. Remote work enthusiast. Bookworm.

No responses yet