Is it possible to create a class in a module to use it in different places? Like:
toolbox.js:
export class DBO {
constructor(_id, title) {
this ._id = _id;
this .title = title;
}
}
then in another file:
import DBO from ‘public/toolbox.js’;
let my object = new DBO()