1 Tests that JavaScriptSourceSyntaxHighlighter detects the tokens.
3 return'foo';: cm-js-keyword, cm-js-string, *
6 1 / 2 + /a/.test('a');: cm-js-number, *, cm-js-operator, *, cm-js-number, *, cm-js-operator, *, cm-js-string-2, *, cm-js-property, *, cm-js-string, *
7 "\"/".length / 2: cm-js-string, *, cm-js-property, *, cm-js-operator, *, cm-js-number
8 var foo = 1/*/***//2: cm-js-keyword, *, cm-js-variable, *, cm-js-operator, *, cm-js-number, cm-js-comment, cm-js-operator, cm-js-number
9 /*comment*//.*/.test('a'): cm-js-comment, cm-js-string-2, *, cm-js-property, *, cm-js-string, *
11 oo';: cm-js-string, *, cm-js-string, *
12 '\f\b\t';: cm-js-string, *
14 /';: cm-js-string, *, cm-js-string, *
17 */foo: cm-js-variable, cm-js-comment, *, cm-js-comment, *, cm-js-comment, cm-js-variable
18 {0: true}: *, cm-js-number, *, cm-js-atom, *
19 var toString;: cm-js-keyword, *, cm-js-variable, *
20 var foo = undefined;: cm-js-keyword, *, cm-js-variable, *, cm-js-operator, *, cm-js-atom, *
21 var foo = Infinity;: cm-js-keyword, *, cm-js-variable, *, cm-js-operator, *, cm-js-atom, *
22 var foo = NaN;: cm-js-keyword, *, cm-js-variable, *, cm-js-operator, *, cm-js-atom, *