Web technology reference for developers
Structure of content on the web
Code used to describe document style
General-purpose scripting language
Protocol for transmitting web resources
Interfaces for building web applications
Developing extensions for web browsers
Learn web development
Learn to structure web content with HTML
Learn to style content using CSS
Learn to run scripts in the browser
Learn to make the web accessible to all
A customized MDN experience
Get real-time assistance and support
All browser compatibility updates at a glance
Learn how to use MDN Plus
Frequently asked questions about MDN Plus
Write, test and share your code
Scan a website for free
此頁面由社群從英文翻譯而來。了解更多並加入 MDN Web Docs 社群。
定義可執行範圍(**scope)**的綁定:在 JavaScript, **functions**會創建一個閉包上下文。