How do you tell the type of something in javascript? You can’t just use typeof. That doesn’t work for things like arrays.
“Write in a way the clearly communicates your intent.” —Douglas Crockford