3 lines
93 B
TypeScript
3 lines
93 B
TypeScript
export const iifeWrapper = (script: string) => {
|
|
return `(function(){\n${script}\n})();`
|
|
}
|