<div dir="ltr">Parenscript ships with a helper macro like this:<br><br>(defpsmacro length (a)<br> `(.size ,a))<br><br>But there's no "size" function for arrays or strings... in fact, is there a "size" function in JS? For most things, it seems like one would want:<br>
<br>(defpsmacro length (a)<br> `(@ ,a length))<br><br>What am I missing?<br><br>Dan<br><br><br></div>