JavaScript concepts is a collection of documentation about the most quirky parts of the JavaScript programming language.
Former knowledge of the language is strongly recommended in order to understand the topics covered in this guide.
- Accessing Properties
- Deleting Properties
- Notation of Keys
- The Prototype
- Property Lookup
- Poisoning Object.prototype
- Common Pitfalls
- Function Aliasing
- Emulating private variables
- Why Private Variables Work
- Closures Inside Loops
- Avoiding the Reference Problem
- The arguments Object
- Converting to an Array
- Passing Arguments
- Formal Parameters and Arguments Indices
- Constructors in JavaScript
*Creating New Objects via Factories
- The Bane of Global Variables
- Local Variables
- Hoisting in javascript
- Name Resolution Order
- Namespaces
- A few other styles of invoking a function in javascript
- The Array Constructor
- The Equality Operator
- The Strict Equality Operator
- Comparing Objects
- The instanceof Operator
- Comparing Custom Objects
- Casting to a String
- Casting to a Number
- Casting to a Boolean
- Why Not to Use eval core javascript
- Use of undefined
- Use of null
- Automatic Semicolon Insertion
- The delete Operator