Articles & Tutorials
for you to read...
- Basic Module Pattern JavaScript
Wrap your code in an immediately invoked function expression (IFFE). It runs immediately when you create it and has no name.
- JavaScript Objects
JavaScript objects are used everywhere. It's an important concept to understand right from the beginning.
- Passing Arguments in Javascript
You can pass arguments into functions to be used within the function. These arguments can be any JavaScript data type including functions.
- Factory Function To Create An Object In JavaScript
Use a constructor function that returns an object. You can then create multiple people passing in the first and last name arguments the `createPerson` function.
- Understanding Closures In JavaScript
This example shows how you create a closure in JavaScript it uses an alert function that can be incremented and reused/passed around.