time-to-botec

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

repl.txt (499B)


      1 
      2 {{alias}}( obj, prop, value )
      3     Defines a non-enumerable property.
      4 
      5     Non-enumerable properties are writable and configurable.
      6 
      7     Parameters
      8     ----------
      9     obj: Object
     10         Object on which to define the property.
     11 
     12     prop: string|symbol
     13         Property name.
     14 
     15     value: any
     16         Value to set.
     17 
     18     Examples
     19     --------
     20     > var obj = {};
     21     > {{alias}}( obj, 'foo', 'bar' );
     22     > obj.foo
     23     'bar'
     24     > {{alias:@stdlib/utils/keys}}( obj )
     25     []
     26 
     27     See Also
     28     --------
     29