in Technology by

Which of the following regarding scope is true about JAVAScript?
A) Variables that have a local scope are only visible in the function in which they are declared
B) Function parameters are visible in the function in which they are used
C) Data that is stored in a variable when a function is called is never cleared out
D) All variables you use in your program have to be declared as global variables

Please log in or register to answer this question.

1 Answer

0 votes
by

Variables that have a local scope are only visible in the function in which they are declared
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->

Related questions

0 votes
asked Oct 23, 2021 in Education by JackTerrance
0 votes
asked Nov 29, 2020 in Technology by Editorial Staff
0 votes
asked Nov 29, 2020 in Technology by Editorial Staff
...