GoConqr has a new look! Let us know what you think.

Notes

Untitled

TEJAS KHAPLI English 1 page

Content of the notes (1)

Page 1

1. var & let

- var gets hoisted. can be used before declaration. let not hoisted

- var function scope & let block scope

2. == & ===

- == compares content only

- === compares both content as well as type

- (e.g. '1' == 1 => true .... '1' === 1 => false )

3. let vs const

- let - can be reassigned

- const -- can't be reassigned. **The content of array however can be modified *(const array.push is possible in const)

- const should not be declared undefined . we can't re-assign it. compile error.

4. undefined vs null

- typeof(undefined) => undefined ------ typeof(null) => object

- declared variable but not define - undefined is assigned by default

hoisting in JS

$$$$$$$$$$fat arrow functions :- https://medium.com/@thejasonfile/es5-functions-vs-es6-fat-arrow-functions-864033baa1a

prototypal inheritance :-

async javascript promises etc,

closures in depth

prototype & prototype chaining

Information

Description
Note on Untitled, created by TEJAS KHAPLI on 09/08/2018.
Created by
TEJAS KHAPLI
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?