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
12 lines
169 B
JavaScript
12 lines
169 B
JavaScript
"use strict";
|
|
|
|
function square(x){
|
|
return x * x;
|
|
}
|
|
|
|
const foo = square(?);
|
|
|
|
expect(foo(3)).toBe(9);
|
|
expect(foo.length).toEqual(1);
|
|
expect(foo.name).toEqual("square");
|