Interesting. Does it work cross OS?
Let's say I implement the "ES6 console.log way - first example here above" on a Unix kernel, if I share the code with someone on a Windows kernel, it will be interpreted with "multi-lines" too (\n vs \r\n)?
JavaScript runs in the browser ๐
Hahaha it should yes ๐
Let's say that my question applies in case I would run the code on the API side or as a local script ๐
It's probably good, I just that I faced so often encoding errors in the past that I was curious about it
Interesting, Im going ti do some tests later at home with a Windows machine
Super cool ๐
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Interesting. Does it work cross OS?
Let's say I implement the "ES6 console.log way - first example here above" on a Unix kernel, if I share the code with someone on a Windows kernel, it will be interpreted with "multi-lines" too (\n vs \r\n)?
JavaScript runs in the browser ๐
Hahaha it should yes ๐
Let's say that my question applies in case I would run the code on the API side or as a local script ๐
It's probably good, I just that I faced so often encoding errors in the past that I was curious about it
Interesting, Im going ti do some tests later at home with a Windows machine
Super cool ๐