time-to-botec

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

repl.txt (806B)


      1 
      2 {{alias}}( value[, level] )
      3     Returns an array of an object's inherited enumerable and non-enumerable
      4     property names.
      5 
      6     Name order is not guaranteed, as object key enumeration is not specified
      7     according to the ECMAScript specification. In practice, however, most
      8     engines use insertion order to sort an object's keys, thus allowing for
      9     deterministic extraction.
     10 
     11     If provided `null` or `undefined`, the function returns an empty array.
     12 
     13     Parameters
     14     ----------
     15     value: any
     16         Input value.
     17 
     18     level: integer (optional)
     19         Inheritance level.
     20 
     21     Returns
     22     -------
     23     keys: Array
     24         List of an object's inherited enumerable and non-enumerable property
     25         names.
     26 
     27     Examples
     28     --------
     29     > var keys = {{alias}}( [] )
     30 
     31     See Also
     32     --------
     33