Skip to content

JS Fundamentals #1 Slides: Typo on Objects & Suggestions? #1

@cliffordfajardo

Description

@cliffordfajardo

There shouldn't be " " marks around the property called material on these slides (bottom right):
http://slides.com/biancagandolfo/obj-arr-func#/3/3
http://slides.com/biancagandolfo/obj-arr-func#/3/4
http://slides.com/biancagandolfo/obj-arr-func#/3/5
http://slides.com/biancagandolfo/obj-arr-func#/3/7
http://slides.com/biancagandolfo/obj-arr-func#/3/8
http://slides.com/biancagandolfo/obj-arr-func#/3/9

var box = {};
box.material = "cardboard";
console.log(box); //output below:
[object Object] {
  material: "cardboard"
}

As a JS beginner the aforementioned slides startled me a bit.

NOTE: I didn't attend part 1 in person (yet); I'm reviewing these slides on my own without an instructor. So I may be misinterpreting things.

See you at your 2-day workshop , Feb 3 & 5! #forwardJS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions