time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (580B)


      1 
      2 {{alias}}( value )
      3     Returns an object's own and inherited property descriptors.
      4 
      5     If provided `null` or `undefined`, the function returns an empty object.
      6 
      7     Parameters
      8     ----------
      9     value: any
     10         Input value.
     11 
     12     Returns
     13     -------
     14     desc: Object
     15         An object's own and inherited property descriptors.
     16 
     17     Examples
     18     --------
     19     > function Foo() { this.beep = 'boop'; return this; };
     20     > Foo.prototype.foo = 'bar';
     21     > var obj = new Foo();
     22     > var desc = {{alias}}( obj )
     23     { 'beep': {...}, 'foo': {...}, ... }
     24 
     25     See Also
     26     --------
     27