mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* breaking(partial-app): require version option * chore: update yarn.lock * test: add case for empty version * update artifacts
14 lines
210 B
JavaScript
14 lines
210 B
JavaScript
"use strict";
|
|
|
|
class C extends class {
|
|
static add(x, y) {
|
|
return x + y; // Algebraic addition
|
|
}
|
|
}
|
|
{
|
|
static add(x, y) {
|
|
return [x, y]; // Pair construction
|
|
}
|
|
static addOne = super.add(1, ?);
|
|
}
|