Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
590 B
41 lines
590 B
2 years ago
|
class A {
|
||
|
constructor() {}
|
||
|
}
|
||
|
class B extends A {}
|
||
|
class C extends A {
|
||
|
method() {}
|
||
|
get property() {
|
||
|
return this._property;
|
||
|
}
|
||
|
// /* foo */
|
||
|
set property(value) {
|
||
|
this._property = value;
|
||
|
}
|
||
|
}
|
||
|
class D extends class A {} {}
|
||
|
class E extends class {
|
||
|
constructor() {}
|
||
|
} {}
|
||
|
class F extends class {
|
||
|
constructor() {}
|
||
|
} {
|
||
|
constructor() {}
|
||
|
}
|
||
|
class G {
|
||
|
[Symbol.iterator]() {}
|
||
|
["method"]() {}
|
||
|
}
|
||
|
class H {
|
||
|
static classMethod() {}
|
||
|
method() {}
|
||
|
}
|
||
|
class I {
|
||
|
static get property() {}
|
||
|
static set property(value) {}
|
||
|
}
|
||
|
class J extends A {
|
||
|
constructor() {
|
||
|
super();
|
||
|
}
|
||
|
}
|