I'm starting using the new way of OO in javascript by following this tutorial. This new way of OO of javascript follows the ES6 specification.
Follows a sample of my code:
class SomeClass{
static SomeFunction(data){
this.data = data;
}
}
What I want is to make the variable this.data
static.
Is any way that I could do that?