Javascript regex syntax coloring bug #15692
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Steps to Reproduce:
$scope.formatPrice = function(num) { if (num >= 1000000) { return (num / 1000000).toFixed(1).replace(/\.0$/, '') + 'M'; } if (num >= 1000) { return (num / 1000).toFixed(1).replace(/\.0$/, '') + 'K'; } return num; } };
The text was updated successfully, but these errors were encountered: