Closed openefit closed 1 year ago
console.log with multi parameters only shows the first
console.log('first', 'NEVER SHOWS') //=> first
an alternative way is to use Template literals
console.log(`this works, 1 + 1 = ${1 + 1}`) //=> this works, 1 + 1 = 2
Added a basic solution in v0.14.0. Full console spec may be implemented in future versions. https://console.spec.whatwg.org/
console.log with multi parameters only shows the first
an alternative way is to use Template literals