Skip to content

Commit ff9b9ff

Browse files
committed
[js] Coerce native refs to string more correctly
1 parent b8f7784 commit ff9b9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm/js/nqp-runtime/container-specs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class NativeRef {
167167
}
168168

169169
$$getStr() {
170-
return this.get().toString();
170+
return coercions.numToStr(this.get());
171171
}
172172

173173
$$decont(ctx, value) {

0 commit comments

Comments
 (0)