Skip to content

Commit

Permalink
[js] Make nqp::decont_s work on nqp str
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Aug 24, 2019
1 parent a70b135 commit 5fb8113
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/js/nqp-runtime/nqp-str.js
Expand Up @@ -29,6 +29,10 @@ class NQPStr extends NQPObject {
$$getStr() {
return this.value;
}

$$decont_s() {
return this.value;
}
};

NQPStr.prototype.$$STable = new FakeStable('NQPStr');
Expand Down

0 comments on commit 5fb8113

Please sign in to comment.