119. practice: variables

변지영·2021년 12월 7일
0
post-thumbnail

file: exercise2.zip

// add variable "firstName" and "lastName" // so that they equal your name

// create a variable that holds the answer // of "firstName" + " " + "lastName"

// Evaluate this question. What is a + b?
var a = 34;
var b = 21;
a = 2;
b + a // 23

// What is c equal to?
var c; // undefined

0개의 댓글