2. How would you access the number 7 from the following object? var data
foo: 8 , bar : 32 , baz : 7
; 3. Write a statement to loop through the following object and log each name to the browser console. var data
: 'Joe', 2 : 'Bob', 3 : 'Jim'
4. Write a statement to loop through the following array and log each number to the browser console. var data =
; 5. What is the difference when you declare a variable with "var" vs. "let"? 6. How would you merge the following two arrays together so it becomes
? var foo
; var bar =
7. How would you add the number 9 to the end of the following array? var data
div " to bold.
this text should be bold
this text should be invisible." Then, change the text "