Variables hold a wide variety of information temporarily. The JavaScript data types that can be stored in a variable include: JavaScript variables can hold a few other kinds of data, but these are by ...
Adapted from JavaScript identifier validator by Mathias Bynens and repackaged as an npm module.