An open API service indexing awesome lists of open source software.

https://github.com/alexius-huang/js-gotchas

Everything (common questions/ use cases) about JavaScript recorded in this repository
https://github.com/alexius-huang/js-gotchas

Last synced: 3 months ago
JSON representation

Everything (common questions/ use cases) about JavaScript recorded in this repository

Awesome Lists containing this project

README

        

# JS Gotchas

## Table of Contents

- Type Checking
- How to check if an object is a **JavaScript object** or an **Array**?

- Sequence
- Initializing / Generating / Copying Array

- Randomness
- Generating random integer from *min* ~ *max* values

- Syntax Tricks
- Short-circuiting
- Number Range Conditioning