What’s an Object in JavaScript?




When you begin programming with JavaScript you might run across books, tutorials, and people who say “Everything in JavaScript is an object.” While it’s not 100% true (not *everything* is an object), it is *mostly* true. And sometimes this can be a bit surprising. Here’s a new mantra for your next (JavaScript programming) meditation session.

Don’t miss an upload! Subscribe! http://goo.gl/szEauh
Stay Connected to O’Reilly Media by Email – http://goo.gl/YZSWbO

Follow O’Reilly Media:
http://plus.google.com/+oreillymedia
https://www.facebook.com/OReilly


Original source


7 responses to “What’s an Object in JavaScript?”

  1. Don't watch this if you are a beginner like me unless you want to be more confused. She talks about a ton of stuff but for a beginner she never tells us what an object is.
    Something about properties at 2:54. She says they are different or she says clearly different but when you look at it it is exactly the same, i.e.. "store: Webville Ice Creamery." She put numbers in front of the other properties but other than that, they are exactly the same. There's a bunch more confusion in there…. She talks about something called the call method….

    This is for intermediate to advance programmers, not beginners. They should change the name or delete the video or at least explain at the beginning what an object is. Maybe they should call it "stuff about the console," or "something about arrays." or "a bunch of javascript stuff, call method, console, arrays, console for in loops…"
    So what is an object anyways?
    Try to imagine your audience is new and trying to learn this stuff before you make a video.

Leave a Reply