Hacker News new | past | comments | ask | show | jobs | submit login

JS_ARG is a string. If you want an array, just split it on space or some other character of your choosing.

E.g, `:alias only_first js -p window.alert(JS_ARG.split('|')[0])` `:only_first this bit | not this`.

NB: untested, posted from 'phone.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: