UNPKG
protofree
Version:
latest (1.0.0)
1.0.0
Disable the __proto__ property for better security
github.com/kanongil/protofree
kanongil/protofree
protofree
/
lib
/
apply.js
10 lines
(5 loc)
•
143 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
require
(
'./desc'
);
// Store existing descriptor
module
.
exports
=
function
(
) {
delete
Object
.
prototype
.
__proto__
; };