scopes of a variable

Home Forums Java Script scopes of a variable

This topic contains 1 reply, has 2 voices, and was last updated by  Sushmita Ghosh 3 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1334

    nayak.anjali.hyd
    Participant

    What are the different scopes of a variable? Define local variable?

    #1336

    Sushmita Ghosh
    Keymaster

    The scope of a variable is generally defined as the region which acts as the place of the program.

    Local variables are those types of variable which are visible across the specifically defined function. The parameter used is also local to the function.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Pasham Technology © 2018 Pasham Technologies