time-to-botec

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

repl.txt (482B)


      1 
      2 {{alias}}( obj, prop, value )
      3     Defines a configurable read-only property.
      4 
      5     Configurable read-only properties are enumerable.
      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 = 'boop';
     23     > obj
     24     { 'foo': 'bar' }
     25 
     26     See Also
     27     --------
     28