Which one of the following creates a local variable? a. Declaring it outside of a function with

Question:

Which one of the following creates a local variable? 

a. Declaring it outside of a function with the var keyword

b. Declaring it outside of a function without the var keyword

c. Declaring it inside a function with the var keyword

d. Declaring it inside a function without the var keyword

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: