time-to-botec

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

repl.txt (545B)


      1 
      2 {{alias}}( value, property )
      3     Returns a property descriptor for an object's own or inherited property.
      4 
      5     If provided `null` or `undefined` or provided a non-existent property, the
      6     function returns `null`.
      7 
      8     Parameters
      9     ----------
     10     value: any
     11         Input value.
     12 
     13     property: string|symbol
     14         Property name.
     15 
     16     Returns
     17     -------
     18     desc: Object|null
     19         Property descriptor.
     20 
     21     Examples
     22     --------
     23     > var obj = { 'a': 'b' };
     24     > var desc = {{alias}}( obj, 'a' )
     25     {...}
     26 
     27     See Also
     28     --------
     29