We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b864c33 commit fa51801Copy full SHA for fa51801
1 file changed
src/worker.js
@@ -78,7 +78,12 @@ addEventListener('message', ({ data }) => {
78
type: 'console',
79
value: {
80
method,
81
- values: args.map((a) => inspect(a)),
+ values: args.map((a, i) => {
82
+ if (i === 0 && Abstract.Type(a) === 'String') {
83
+ return a.stringValue();
84
+ }
85
+ return inspect(a);
86
+ }),
87
},
88
});
89
return Value.undefined;
0 commit comments