Skip to content

Commit

Permalink
[js] Implement cloning integers
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Apr 27, 2017
1 parent ef08375 commit cdbfe6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/js/nqp-runtime/nqp-int.js
Expand Up @@ -27,6 +27,10 @@ class NQPInt extends NQPObject {
$$can(ctx, name) {
return 0;
}

$$clone() {
return this;
}
};

module.exports = NQPInt;

0 comments on commit cdbfe6f

Please sign in to comment.