catch
should not be a keyword when used in a Promise chain
#1526
Labels
catch
should not be a keyword when used in a Promise chain
#1526
Currently, when parsing javascript,
catch
will be rendered as a keyword. Since ES6,catch
is also a method on the Promise prototype, which is probably best rendered as afunction
in Prism:Hopefully, there is an easy way to test for this. Thanks!
The text was updated successfully, but these errors were encountered: