This topic contains a solution. Click here to go to the answer

Author Question: Giving a local function variable the same name as a global variable will result in which of the ... (Read 109 times)

vHAUNG6011

  • Hero Member
  • *****
  • Posts: 514
Giving a local function variable the same name as a global variable will result in which of the following?
 
  a) JavaScript runtime error.
  b) Data corruption.
  c) The local function variable will rename itself.
  d) The local variable will hide the global variable.

Question 2

Script-level variables have ________ duration.
 
  a) local
  b) global
  c) automatic
  d) static



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

Edwyer

  • Sr. Member
  • ****
  • Posts: 337
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (d)




vHAUNG6011

  • Member
  • Posts: 514
Reply 2 on: Jul 7, 2018
Thanks for the timely response, appreciate it


triiciiaa

  • Member
  • Posts: 349
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

Did you know?

Hypertension is a silent killer because it is deadly and has no significant early symptoms. The danger from hypertension is the extra load on the heart, which can lead to hypertensive heart disease and kidney damage. This occurs without any major symptoms until the high blood pressure becomes extreme. Regular blood pressure checks are an important method of catching hypertension before it can kill you.

Did you know?

After 5 years of being diagnosed with rheumatoid arthritis, one every three patients will no longer be able to work.

Did you know?

In the United States, there is a birth every 8 seconds, according to the U.S. Census Bureau's Population Clock.

Did you know?

Green tea is able to stop the scent of garlic or onion from causing bad breath.

For a complete list of videos, visit our video library