File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
number/float64/base/from-words/docs Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2121 > var v = {{alias}}( 1774486211, 2479577218 )
2222 3.14e201
2323 > v = {{alias}}( 3221823995, 1413754136 )
24- 3.141592653589793
24+ - 3.141592653589793
2525 > v = {{alias}}( 0, 0 )
2626 0.0
2727 > v = {{alias}}( 2147483648, 0 )
Original file line number Diff line number Diff line change 7373 --------
7474 > function get( obj, prop ) { return obj[ prop ] * 2.0 };
7575 > var h = { 'get': get };
76- > var p = {{alias}}( {}, h );
76+ > var p = new {{alias}}( {}, h );
7777 > p.a = 3.14;
7878 > p.a
7979 6.28
106106 --------
107107 > function get( obj, prop ) { return obj[ prop ] * 2.0 };
108108 > var h = { 'get': get };
109- > var p = new {{alias}}( {}, h );
109+ > var p = {{alias}}.revocable ( {}, h );
110110 > p.proxy.a = 3.14;
111111 > p.proxy.a
112112 6.28
Original file line number Diff line number Diff line change 4040 ... return acc + v;
4141 ... };
4242 > var arr = [ 1.0, 2.0, 3.0 ];
43- > var out = {{alias}}( arr, 0, sum )
43+ > var out = {{alias}}( arr, 0, sum );
4444 2: 3.0
4545 1: 2.0
4646 0: 1.0
47+ > out
4748 6.0
4849
4950 See Also
You can’t perform that action at this time.
0 commit comments