Licence
—
Version
0.27.0
Deps
1
Size
32 kB
Vulns
0
Weekly
0
If we give the parser any text, either quoted or not, we the text back as "notIdentifier"
e.g. ""foo bar baz"" returns:
{ notIdentifer: "foo bar baz", intro: """, outro: """, }
while "foo bar baz" returns:
{ notIdentifer: "foo bar baz", }
There are some situations where this will trigger out other scenarios.
If you put some variation on "function someValidIdentifier (" then you'll get "function" as the intro
so ""