Two cases in which the expanded code does not look the way it should:<br><br>CL-USER> (js:js* '(.match (+ "" x) "foo"))<br>
"'' + x.match('foo');"<br>
CL-USER> (js:js* '(setf x (+ "before" x "after")))<br>"x += 'before' + 'after';"<br><br>The first is missing parentheses around the "" + x part, the second shows that parenscript is trying to be a little too clever by realizing that + is commutative, except that for strings it isn't.
<br><br><br>Marijn<br><br>