Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A dangerously awesome feature: eval means it probably would support anon funcs.


Yup:

  =(function(){console.log("hehehe");})()


Don't need to go that far:

    =alert("hehehe")


Any javascript works. For example:

=document.getElementsByTagName('body')[0].parentNode.removeChild(document.getElementsByTagName('body')[0])

The line is saved in localStore, breaking the spreadsheet for future requests.




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

Search: