UNPKG

reign

Version:

A persistent, typed-objects implementation.

18 lines (17 loc) 373 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * Force the given function to be inlined (if natives syntax is enabled). */ const forceInline = exports.forceInline = (() => { try { return new Function('target', ` %SetForceInlineFlag(target); return target; `); } catch (e) { return input => input; } })();