Closed fjqingyou closed 2 years ago
i try modify js and retry build
root@HL:nodejs# cat helloworld.js
function main_local(){
console.log("hello world");
}
main_local();
it's success!
so javascript file can not exists name is 'main' function ?
Hi !
In fact, as we transpile JS in C++, the main function should be marked as keyword to avoid using it,
thank you for your tests, it's a good news that it's working on OpenWrt/MIPS