Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. The lexical scooping in JavaScript is based on which of the following?

  2. A.

     Segments

    B.

     Blocks

    C.

     Functions

    D.

     Entire code

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    JavaScript has lexical scoping based on functions but not blocks.


Be The First To Comment