Module:No globals/doc/zh
![]() | 这是用于Module:No globals/doc的文档子页面。 It contains usage information, categories and other content that is not part of the original Module page. |
![]() | 此页面在多个wiki之间共享。 此页面的所有更改将被自动复制到左侧栏中列出的所有wiki。 请帮助翻译此页面。 |
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
TNT | This module uses Module:TNT for localisation: |
此模組在大多數使用情況下已被廢棄,請使用strict 函式庫:require( "strict" )
.
用法
將此模組包含在您程式碼的最上方。 當您的程式碼嘗試讀取或寫入一個非區域 (未宣告) 變數時,將會產生錯誤。
测试
Module:No globals | success: 0, error: 1, skipped: 0 |
Module:No globals/sandbox | success: 0, error: 1, skipped: 0 |
- See test cases
- Diff sandbox code Category:Module documentation pages/zh