unserialize.js 182 B

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