Version
deno 2.7.5 (stable, release, x86_64-unknown-linux-gnu)
v8 14.6.202.9-rusty
typescript 5.9.2
Steps to reproduce
- Create file
test.js with the following content:
import console from 'node:console'
const span = {'foo': 'bar'};
const helloworld = 'Hello World!';
console.log('%j %s', span, helloworld);
- Run the file like
deno test.js.
Expected Behaviour
in Node.js the snippet outputs:
{"foo":"bar"} Hello World!
Actual Behaviour
%j [object Object] Hello World!