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
9 lines
181 B
JavaScript
9 lines
181 B
JavaScript
"use strict";
|
|
|
|
function add(x, y) { return x + y; }
|
|
const addTen = add(?, 10);
|
|
|
|
expect(addTen(2)).toEqual(12);
|
|
expect(addTen.length).toEqual(1);
|
|
expect(addTen.name).toEqual("add");
|