carlCodes.tech
Sharing thoughts on coding. Making people smile! 😃
Latest Blog Posts
JavaScript Variable Scopes
Key Points:
- Global Scope: Accessible everywhere in the code.
- Function Scope: Accessible only within the function.
- Block Scope: Accessible only within the block.
JavaScript Arrow Functions
Key Points:
- Concise way of writing a function.
- If the function body is a single expression, neither the 'return' keyword or curly brackets are needed.
- They do not have their own 'this' context.