🦸♂️Superman
superman
Examples
const { Superman } = require('coreplus')('superman');
class Item extends Superman {
constructor(x, y, width, height, id) {
super(x, y, width, height, id);
}
}
console.log(new Item(10, 20, 240, 190, 'block'));Item { x: 10, y: 20, width: 240, height: 190, id: 'block' }const { superman } = require('coreplus')('superman');
class Item {
constructor(x, y, width, height, id) {
superman(this, x, y, width, height, id);
}
}
console.log(new Item(10, 20, 240, 190, 'block');Use
Class
Function
Last updated