MCPcopy
hub / github.com/webpack/webpack / iife

Method iife

lib/RuntimeTemplate.js:490–492  ·  view source on GitHub ↗

* Returns iIFE code. * @param {string} args arguments * @param {string} body body * @returns {string} IIFE code

(args, body)

Source from the content-addressed store, hash-verified

488 * @returns {string} IIFE code
489 */
490 iife(args, body) {
491 return `(${this.basicFunction(args, body)})()`;
492 }
493
494 /**
495 * Returns for each code.

Callers 1

weakErrorMethod · 0.95

Calls 1

basicFunctionMethod · 0.95

Tested by

no test coverage detected