Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const cases = [
- '',
- ' ',
- 'a',
- '0',
- '1',
- '01',
- 'true',
- 'false',
- 'null',
- 'undefined',
- -1,
- 0,
- 1,
- Number.MAX_SAFE_INTEGER,
- Number.MAX_SAFE_INTEGER + 1,
- 10n,
- Number.MAX_VALUE, // Integer
- Number.MIN_VALUE,
- Math.random(), // Float
- null,
- undefined,
- window || this|| global, // Complex object
- true,
- false,
- {},
- [],
- { a: true },
- [0],
- [1],
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement