0 votes
in JavaScript by
Which of the following regarding scope is true?

Variables that have a local scope are only visible in the function in which they are declared

Function parameters are visible in the function in which they are used

Data that is stored in a variable when a function is called is never cleared out

All variables you use in your program have to be declared as global variables

1 Answer

0 votes
by

Variables that have a local scope are only visible in the function in which they are declared 

Related questions

0 votes
asked Mar 17, 2021 in Threat Modeling by sharadyadav1986
0 votes
asked Mar 28 in AWS by DavidAnderson
...