Jump to content

everything is an object


runeveryday

Recommended Posts

That's exactly it. Objects can have methods and properties. Anything in javascript can have a method or a property attached to it (including functions, strings, or anything else). So everything is an object!

yeah,Objects can have methods and properties. but if it is a variable, how to say it's an object ?eg var a='english';

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.