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
16 lines
348 B
JavaScript
16 lines
348 B
JavaScript
"use strict";
|
|
|
|
var _super$add, _this;
|
|
class C extends class {
|
|
static add(x, y) {
|
|
return x + y; // Algebraic addition
|
|
}
|
|
} {
|
|
static add(x, y) {
|
|
return [x, y]; // Pair construction
|
|
}
|
|
static addOne = (_this = this, _super$add = super.add, function add(_argPlaceholder) {
|
|
return _super$add.call(_this, 1, _argPlaceholder);
|
|
});
|
|
}
|