This commit is contained in:
Kim Ravn Hansen
2025-10-09 15:51:40 +02:00
parent 2bf6272291
commit 1f97ea63e2
20 changed files with 1173 additions and 855 deletions

17
test.js
View File

@@ -0,0 +1,17 @@
class Nugga {
mufassa = 22;
constructor() {
this.fjæsing = 22;
console.debug(Object.prototype.hasOwnProperty.call(this, "fjæsing"));
}
diller(snaps = this.fjæsing) {
console.log(snaps);
}
}
class Dugga extends Nugga {}
const n = new Dugga();
console.log(n, n.diller(), n instanceof Dugga);