js 全局变量


window.a=12;

原文地址:https://www.cnblogs.com/sea-stream/p/10765778.html