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 93 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
Gracias!


jordangronback

  • Member
  • Posts: 339
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

The U.S. Preventive Services Task Force recommends that all women age 65 years of age or older should be screened with bone densitometry.

Did you know?

Fungal nail infections account for up to 30% of all skin infections. They affect 5% of the general population—mostly people over the age of 70.

Did you know?

The term pharmacology is derived from the Greek words pharmakon("claim, medicine, poison, or remedy") and logos ("study").

Did you know?

Eat fiber! A diet high in fiber can help lower cholesterol levels by as much as 10%.

Did you know?

In 2012, nearly 24 milliion Americans, aged 12 and older, had abused an illicit drug, according to the National Institute on Drug Abuse (NIDA).

For a complete list of videos, visit our video library