mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
19 lines
214 B
JavaScript
19 lines
214 B
JavaScript
(function() {
|
|
class A {
|
|
hello() {
|
|
console.log("Hello");
|
|
}
|
|
|
|
m() {
|
|
this.hello();
|
|
}
|
|
}
|
|
|
|
class B extends A {
|
|
hello() {
|
|
console.log("Hello!");
|
|
}
|
|
}
|
|
|
|
new B().hello();
|
|
}); |