mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
21 lines
195 B
JavaScript
21 lines
195 B
JavaScript
|
class A {
|
||
|
constructor() {
|
||
|
}
|
||
|
|
||
|
foo(a) {
|
||
|
}
|
||
|
|
||
|
bar() {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class B extends A {
|
||
|
bar(override) {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
B.Events = {
|
||
|
// Event with the same name as a super class method.
|
||
|
foo: 'foo'
|
||
|
};
|