Draw a diagram of the result of following code.
var businessName = "Trader Joe's";
var location = "Austin";
Draw a diagram of the result of following code.
var spy = "John Smith";
var nameTracker = spy;
spy = "James Bond";
Draw a diagram of the result of following code. Take turns drawing it from scratch.
var x = 11;
var y = 22;
var temp = x;
x = y;
y = temp;
Draw a diagram of the result of following code. Take turns drawing it from scratch.
var x = 11;
var increment = function (number) {
number = number + 1;
}
increment(x);
Draw a diagram of the result of the following code. Take turns drawing it from scratch.
var f = function (x, y) {
var result = x * y;
return result;
};
var sum = f(10, 20);