Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经构建了一个非常简单的新奇页面,当单击按钮时只调用一个基本的 javascript 函数,但我希望能够计算全局单击该按钮的次数。作为 javascript 的新手,我正在努力思考如何解决这个问题。如果您能提供帮助,我将不胜感激。