
committed by
Miško Hevery

parent
6ab5f3648a
commit
b0834fe962
@ -168,7 +168,7 @@ export function stringify(token: any): string {
|
||||
return token;
|
||||
}
|
||||
|
||||
if (token instanceof Array) {
|
||||
if (Array.isArray(token)) {
|
||||
return '[' + token.map(stringify).join(', ') + ']';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user