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 94 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
Wow, this really help


miss.ashley

  • Member
  • Posts: 371
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

Malaria was not eliminated in the United States until 1951. The term eliminated means that no new cases arise in a country for 3 years.

Did you know?

More than 2,500 barbiturates have been synthesized. At the height of their popularity, about 50 were marketed for human use.

Did you know?

Once thought to have neurofibromatosis, Joseph Merrick (also known as "the elephant man") is now, in retrospect, thought by clinical experts to have had Proteus syndrome. This endocrine disease causes continued and abnormal growth of the bones, muscles, skin, and so on and can become completely debilitating with severe deformities occurring anywhere on the body.

Did you know?

Blastomycosis is often misdiagnosed, resulting in tragic outcomes. It is caused by a fungus living in moist soil, in wooded areas of the United States and Canada. If inhaled, the fungus can cause mild breathing problems that may worsen and cause serious illness and even death.

Did you know?

Aspirin is the most widely used drug in the world. It has even been recognized as such by the Guinness Book of World Records.

For a complete list of videos, visit our video library