MCPcopy
hub / github.com/webpack/webpack / tag

Function tag

test/cases/parsing/es6.nominimize/index.js:53–55  ·  view source on GitHub ↗
(strings, value)

Source from the content-addressed store, hash-verified

51
52it("should parse template literals", function () {
53 function tag(strings, value) {
54 return value;
55 }
56 var x = `a${require("./b")}c`;
57 var y = tag`a${require("./b")}c`;
58 expect(x).toBe("abc");

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected