codedamn

Scoping

Created by Codedamn about a year ago

0

No description provided

3 Comments

    0

    not able to understand why 'a' is undefined

    let a = 'hello'; // globally scoped
    var b = 'world'; // globally scoped
    console.log(window.a); // undefined
    console.log(window.b); // 'world'
    

    \

    @vramdasi

    Vishal

    @vramdasi

    0

    well explanation

    @abdurrahim

    Abdur Rahim

    @abdurrahim

    0

    wherever i touch the video it's going to pause the video. it's so difficult to see videos in phone. may be it's like a YouTube control i will like it.

    @piratecode

    Hari Krishnan R

    @piratecode

Your comment