RMMV classes inside js plugin file

I'm using RPG Maker MV 1.5.1 and I'm curious about classes inside plugin.
Because 1.5.1 version does not support this style of coding:
Code:
class MyClass{
    helloWorld(){
        return "Hello World";
    }
}

var aManWithNoHat = new MyClass;
console.log(aManWithNoHat.helloWorld());

and before updating to latest version I wanted to ask that the latest version of MV supports classes in js plugin files?
The latest version does support ES6.
@Poryg Thank you for reply 🙂

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-classes-inside-js-plugin-file.114085/