Opal-Estate-Pro/node_modules/es5-ext/object/unserialize.js
2019-09-13 11:27:52 +07: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))();
};