JSON.minify icon indicating copy to clipboard operation
JSON.minify copied to clipboard

not remove comments last line

Open talltotal opened this issue 4 years ago • 0 comments

    it('comments last line', function() {
        var json = `{"key":"value"}//comments`;
        var res = JSON.minify(json);
        res.should.equal(`{"key":"value"}`);
    });
// but get
`{"key":"value"}comments`

talltotal avatar Dec 24 '19 08:12 talltotal