• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

6.9. objects.js


Practical uses

Generic object creation, object inspection


Version requirement

JavaScript 1.1


Functions

makeObj(), parseObj(), objProfile()

Now JavaScript objects. So many things to do with them, so little time to try them all. objects.js provides two utilities. One is a generic object constructor, the other is a basic object inspector. Open ch06\objects.html in your browser. Figure 6.15 shows you what you get.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint