How to run prelude functions

瘦欲@ 提交于 2019-12-13 17:51:06
问题 I downloaded prelude.js and added it in my application. I linked the js file in my html file in the following way: <script type="text/javascript" src="prelude-browser-min.js"></script> I didn't link any dependent file in my html file. I opened the browser console and ran the following code, which is not working: tail [1 to 5] It looks like I'm not able to see the prelude function. So do I need to add any other file in my html headers ? What am I doing wrong ? 回答1: That's livescript syntax,