TeaVM produces JS and WebAssembly modules that don't run actual main method, but export main function that a user should call. Although it's enough for all practical cases, for some small scripts it's easier to have TeaVM auto-run everything, and all user needs is to just include script.
TeaVM produces JS and WebAssembly modules that don't run actual
main
method, but exportmain
function that a user should call. Although it's enough for all practical cases, for some small scripts it's easier to have TeaVM auto-run everything, and all user needs is to just include script.