Skip to content

Commit e20720e

Browse files
committed
Use new keyword for constructor invocation
1 parent 5cfcc00 commit e20720e

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/proxy/ctor/docs

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/proxy/ctor/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
--------
107107
> function get( obj, prop ) { return obj[ prop ] * 2.0 };
108108
> var h = { 'get': get };
109-
> var p = {{alias}}( {}, h );
109+
> var p = new {{alias}}( {}, h );
110110
> p.proxy.a = 3.14;
111111
> p.proxy.a
112112
6.28

0 commit comments

Comments
 (0)