UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

11 lines 241 B
"use strict";var toJSONDescriptor = { enumerable: false, value: function emptyInput() { return {}; } }; module.exports = function (input) { if (!input.toJSON) { Object.defineProperty(input, "toJSON", toJSONDescriptor); } };