how to call java method in javascript code example Example: javscript call myFunc.call(thisArg, ...args)