求教大神,怎么在js文件当中写java代码?js中封装几个变量然后,在页面加载的时候传过去var param = {}function xxx(){param.xx}<script src="xxx"><script&2023-04-21JavaScript330