Memorising JavaScript Types

I just heard of a nice way that WesBos suggested to help someone remember the different types that there are in JavaScript and it used something known as an acronym. That is, a word in which each letter of its spelling, refers to another word.

Here’s WesBos’ for memorising the types that JavaScript offers:

SNOB ‘N’ US

Each letter stands for the following:

  • String
  • Number
  • Object
  • Boolean
  • Null
  • Undefined and,
  • Symbol

See the word spelt out on the left, above?

Well, using all my creative abilities (and some), I think I have an easier word which you can remember and that is (drum roll):

BUNSONS

Yep! Write it down folks - that will be your saviour in a JavaScript interview or if you find yourself desperately trying to impress someone.


Hi! Did you find this useful or interesting? I have an email list coming soon, but in the meantime, if you ready anything you fancy chatting about, I would love to hear from you. You can contact me here or at stephen ‘at’ logicalmoon.com