Skip to content

Commit

Permalink
[js] Make serialization context boolify as true
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Apr 23, 2017
1 parent e2e2e30 commit 6519d68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/js/nqp-runtime/serialization-context.js
Expand Up @@ -71,6 +71,10 @@ class SerializationContext extends NQPObject {

obj._SC = this;
}

$$toBool(ctx) {
return 1;
}
};

SerializationContext.contexts = {};
Expand Down

0 comments on commit 6519d68

Please sign in to comment.