Skip to content

Instantly share code, notes, and snippets.

View pcthomatos's full-sized avatar
:octocat:
Github-ing

pcthomatos pcthomatos

:octocat:
Github-ing
View GitHub Profile
const TYPES = Object.freeze({
OBJECT: typeof {},
UNDEFINED: typeof undefined,
BOOLEAN: typeof true,
NUMBER: typeof 1,
STRING: typeof "",
FUNCTION: typeof eval,
SYMBOL: typeof Symbol()
});