12345678910 |
- module.exports = function stringifyJS (value) {
- const stringify = require('javascript-stringify')
- // eslint-disable-next-line no-shadow
- return stringify(value, (val, indent, stringify) => {
- if (val && val.__expression) {
- return val.__expression
- }
- return stringify(val)
- }, 2)
- }
|