Sublime Forum

ST3: Javascript Indentation bug

#1

The following code will not get re-indented correctly. Passing in “(” as a string strangely breaks it, change “(” to any other character and it works as expected.

function a() { function b(){ var str = c("("); str += "x"; } }

0 Likes