You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{/* some javascript here begins the function */catch(err){return{"sortName":undefined,"value": value};}}).sort(function(a,b){/* more javascript here */}}
So the two }} at the end of the catch and the end of the function tricks the parser into thinking this is the end of the Javascript block.. when it is not. It should match on a literal }} and not just some combination of } and }
The text was updated successfully, but these errors were encountered:
A simple catch block at the end of a function:
produces the following:
So the two }} at the end of the catch and the end of the function tricks the parser into thinking this is the end of the Javascript block.. when it is not. It should match on a literal }} and not just some combination of } and }
The text was updated successfully, but these errors were encountered: