When I changed the codeova of the recently created project in monaca from 4 to 5.2,
console.log() has previously logged all arguments.
After making the changes, the log contents are separated in the middle and no further output is available.
I looked for a setting or something, but I couldn't find it, but
Please let me know if anyone knows about this phenomenon.
Thank you for your cooperation.
This is a postscript to self-solving.
console.log("Character you want to output".replace(/, /g, ",").replace(/[/g, "[]/g, "]).replace(/]/g, "]);
resolved in .
, (half-width comma), [, ] (half-width key bracket?)
It seems that the three types of were bad, so I converted them appropriately with replace.
I couldn't tell if it was just a monaca setting, but the above is the solution.
Sorry for the trouble.
© 2024 OneMinuteCode. All rights reserved.