Introduction to programming 1

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following statements best represents what a variable is?

A variable is a placeholder for a value you can use in your code.

JavaScript variables can be created without the var keyword. True or false?

True:It's true, they can. If you omit the var keyword your variable will still work. However, this can make your program work in ways you don't expect it to. In some versions of JavaScript there are alternative words you can use to declare variables but we won't be looking at them in this course.

Formally, creating a variable is called:

declaring

Formally, assigning a variable its first value is called:

initializing


Set pelajaran terkait

Ch6. Perception and Individual Decision Making

View Set

Dr. Piras-Med Surg II-Cardiac Dysrhythmias

View Set

s66 quizzes: investment vehicles

View Set