1 2 3 4 5 6 7 8
'use strict'; module.exports = function toFastProperties(obj) { function f() {} f.prototype = obj; new f(); return; eval(obj); };