myna-parser icon indicating copy to clipboard operation
myna-parser copied to clipboard

2 small mistakes in the sample code in readme.md

Open henry-luo opened this issue 6 years ago • 0 comments

There are two small mistakes in the sample code in readme.md.

    var g = new function() 
    {
        var delimiter = ",";   // need to define delimiter first
        this.textdata   = m.notChar('\n\r"' + delimiter);    
        ...
    }
    console.log(parser(input));
  1. the variable delimiter is not defined;
  2. last line should be parser, not parse.

henry-luo avatar Mar 06 '18 12:03 henry-luo