Mastering Javascript: Vanilla JS type checking and more!

Опубликовано: 11 Апрель 2026
на канале: Consulting Ninja
100
5

I cover how to do some primitive type checking (run time) using just vanilla js and Object.hasOwnProperty(). I also show some cool things you can do with Key : Value mappings and the Ternary Operator!

My channel membership is live check it out here!:
   / @consultingninja  

Membership perk video:
   • I launched a chatbot with my channel membe...  

Need help? visit https://www.consultingninja.tech
Check out my channel ‪@ConsultingNinja‬ for more videos like these.

Link to codepen:
https://codepen.io/

Javascript Docs:
https://developer.mozilla.org/en-US/d...

hasOwnProperty Docs:
https://developer.mozilla.org/en-US/d...

Ternary Docs:
https://developer.mozilla.org/en-US/d...