UNPKG
nu
Version:
latest (0.1.0)
0.1.0
nu (new) -- functional object allocation
kilianc/node-nu
nu
/
lib
/
nu.js
7 lines
(6 loc)
•
126 B
JavaScript
View Raw
1
2
3
4
5
6
7
function
nu
(
) {
var
obj =
Object
.
create
(
this
.
prototype
);
this
.
apply
(obj,
arguments
);
return
obj; }
module
.
exports
= nu;