ReactUnity / core

React and HTML framework for Unity UI & UIToolkit
https://reactunity.github.io/
MIT License
733 stars 42 forks source link

console.log only shows the first parameter #69

Closed openefit closed 1 year ago

openefit commented 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
KurtGokhan commented 1 year ago

Added a basic solution in v0.14.0. Full console spec may be implemented in future versions. https://console.spec.whatwg.org/