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
13 lines
231 B
JavaScript
13 lines
231 B
JavaScript
class obj {
|
|
static #add = (x, y) => x + y;
|
|
static test() {
|
|
const addOne = obj.#add(1, ?);
|
|
|
|
expect(addOne(5)).toEqual(6);
|
|
expect(addOne.length).toEqual(1);
|
|
expect(addOne.name).toEqual("_add");
|
|
}
|
|
}
|
|
|
|
obj.test();
|