how generate getter / setter with es2015(es6)?

Hi

i have simple javascript class

 
"use strict";

class Aaa {

    constructor() {
        this._aaa = 5
    
}

}


when i select navigation code -> generate -> getter  i always get message "no fields without getter have been found"

how use generation in webstorm?

Please sign in to leave a comment.