Files
prep-work/javascript/1-js-variables/README.md
Armen Vartan 6d38e1e7b1 js 3 fizzbuzz
2014-12-01 16:24:07 -05:00

19 lines
651 B
Markdown

Javascript Variables, Lists, and Objects
========================================
Create a variable named byte and set it equal to "school".
Create an array named instructors and have it contain the strings "Armen", "Chris", and "Greg"
Create an array named students and have it contain the strings "Adolfo", "Benny", "Billy", "Brendan"
Create an object with the following key-value pairs- "byteAcademy":byte, "instructors":instructors, "students":students
Append the contents of the object to the "printout" div element. It should read like this:
byteAcademy - School
instructors - Armen, Chris, Greg
students - Adolfo, Benny, Billy, Brendan