diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index dfe904857fa3e5..3f188bef506d02 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -257,15 +257,6 @@ NativeModule.getSource = function(id) { return NativeModule._source[id]; }; -NativeModule.wrap = function(script) { - return NativeModule.wrapper[0] + script + NativeModule.wrapper[1]; -}; - -NativeModule.wrapper = [ - '(function (exports, require, module, process, internalBinding) {', - '\n});' -]; - const getOwn = (target, property, receiver) => { return ReflectApply(ObjectHasOwnProperty, target, [property]) ? ReflectGet(target, property, receiver) :