<div><div>The generated JS is invalid here, somewhat unexpectedly (I suppose parentheses are required):</div><div><br></div><div>(defun foo (obj)</div><div> (create :abc (let ((x (gethash "blah" obj)))</div><div>
(if x 123 456))))</div></div><div><br></div><div>=></div><div><br></div><div><div>function foo(obj) {</div><div> var x;</div><div> return { 'abc' : x = obj['blah'], x ? 123 : 456 };</div>
<div>};</div></div>