Question on javascript version

I've been making/copying code for self made plugings in MV.
Today i got a lesson about javascript on school. But now my question is.
What version of javascript is usable for mqking plugins. I'm learning the newest version on school. but i don't think it's the same when i read through the code of other plugins.

Am i limited to a certain version for MV? Or could i just start using newer versions with some settings or so?
Am i limited to a certain version for MV? Or could i just start using newer versions with some settings or so?
By default MV used nwjs version 29, giving you access to features present in Chromium 65. Though you can upgrade nwjs to a new version if you want to be able to use newer features (and get a mild performance boost).
RPG Maker MV uses a standalone environment called NWJS, which is a modified Chromium browser.

MV was originally released with a runtime that only supported up to ES5.

Like Mac says, the current version of MV ships with Chromium 65.0.3325.181, which I think supports up to ES9?

You can check runtime versions during playtest via the console (F8 or F12), e.g.

process.versions.chromium
Note that alternative versions of NWJS are not theoretically certified for compatibility with the core scripts or any plugins you may be using. You can test it on your end, but there may be odd bugs for players with certain setups.

If you choose Web Deployment for your game, the game will simply run in the user's browser, which can be assumed to support the latest feature set. Playtest will still use NWJS, though.
Hm, interesting. I'll look up a bit more now that I know more on what to look for. Thanks

Original thread: https://forums.rpgmakerweb.com/threads/question-on-javascript-version.165739/