Module:No globals/doc/zh
Appearance
| 这是用于Module:No globals/doc的文档子页面。 它包含使用信息、分类及其他不属于原始Module页面的内容。 |
| 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