【发布时间】:2015-06-09 00:31:37
【问题描述】:
新打开的 Firefox Scratchpad 包含以下文本:
/*
* This is a JavaScript Scratchpad.
*
* Enter some JavaScript, then Right Click or choose from the Execute Menu:
* 1. Run to evaluate the selected text (Ctrl+R),
* 2. Inspect to bring up an Object Inspector on the result (Ctrl+I), or,
* 3. Display to insert the result in a comment after the selection. (Ctrl+L)
*/
我想把它改成更有用的东西,比如
(function(){
})();
怎么做?
【问题讨论】:
标签: firefox scratchpad