traceProtoChain v1.10

Download the source file

A debug utility that allows to trace out properties in an object and its each __proto__ in its __proto__ chain respectively.

Usage 1:

Object.prototype.x = 8; myObj = {x : 5};

The output would be:
               <In the object>
                   x : (number) 5
               <In the object.__proto__>
                   x : (number) 8

Usage 2:

traceProtoChain(myMC, true);
//'true' exposes the built-in hidden properties



Back to Flash Home

Copyright©2000-2002 STUDIO FIRST RAYS. All rights reserved