wallet-core/node_modules/es5-ext/object/unserialize.js
2017-08-14 05:02:09 +02:00

9 lines
192 B
JavaScript

"use strict";
var value = require("./valid-value");
module.exports = exports = function (code) {
// eslint-disable-next-line no-new-func
return new Function("return " + value(code))();
};