Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

json-lexer #14

node v4.9.1
version: master
endpointsharetweet
var lexer = require('json-lexer'); var result = lexer("{\n \" foo \": 1\n}"); console.log(result, result[2].raw, result[2].raw.length); var wrap = result.reduce((memo, token) => memo + token.raw, ''); result == wrap;
Loading…

no comments

    sign in to comment