HomeНаука и техникаRelated VideosMore From: O'Reilly

What's an Object in JavaScript?

294 ratings | 32354 views
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 https://twitter.com/OReillyMedia
Html code for embedding videos on your blog
Text Comments (13)
Gerbzz (26 days ago)
came here for an answer now i got more questions
Lam Yahm (6 months ago)
I learned many things, but what an object was is still unclear.
Anil Yadav (6 months ago)
good, thank you...
sonicqtip (9 months ago)
@1:20: "An object is a collection of properties..."
Milbon Desousa (1 year ago)
Just tell us what an object is, in SIMPLE words.
Bogus Bozo (9 months ago)
ikr
Mathias Piletti (1 year ago)
People trying to understand what an object is, not speciel object functions etc. you never going to use. Misleading video title
tim mellis (1 year ago)
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.
George DM (2 years ago)
Nice explanation with examples.Thank you.
syed ali (3 years ago)
Could you please cover the difference between Lexical Scoping and In-Memory Scoping?
O'Reilly (4 years ago)
Elisabeth Robson, co-author of Head First JavaScript Programming talks about What it really means when people say “Everything in JavaScript is an object”  Read more here: http://oreil.ly/1kThvyx http://youtu.be/8iXoWC9XcU8 #Javascript   #programming   #OReilly  
Footages (4 years ago)
Maybe on 6:25 text in circle has to be "Object" instead of "String"?
Axel Prieto (4 years ago)
'String' *is* an object. It has more properties than a native 'string' (with lower case)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.