Files
Huáng JùnliàngandGitHub 90d0687df9 [Babel 8]: partial-application plugin requires "version" option (#17760)
* breaking(partial-app): require version option

* chore: update yarn.lock

* test: add case for empty version

* update artifacts
2026-01-31 14:43:11 +01:00

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");