MCPcopy
hub / github.com/webpack/webpack / fooBar

Function fooBar

test/cases/parsing/issue-3252/index.js:4–6  ·  view source on GitHub ↗
({some, bar = E.V6Engine})

Source from the content-addressed store, hash-verified

2
3
4function fooBar({some, bar = E.V6Engine}) {
5 return new bar().toString();
6}
7
8it("supports default argument assignment in import", function () {
9 expect(fooBar({some:"test"})).toEqual('V6');

Callers 1

index.jsFile · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected