$(selector) returns the reference to the first DOM element with the specified CSS selector. This function is an alias for the document.querySelector() function.
$$(selector) returns an array of elements that match the given CSS selector. This command is equivalent to calling document.querySelectorAll().
$x(path) returns an array of DOM elements that match the given XPath expression.
这个快捷方法最开始是来自于Firebug
http://getfirebug.com/wiki/in...
然后chrome的文档在这儿
https://developers.google.com...
手动更新一下
图1:



图2:
图3:
$
document.querySelector$$
document.querySelectorAll$ => document.querySelector$$ => document.querySelectorAllChrome Command Line API Reference 自备梯子
http://getfirebug.com/wiki/in... 免梯子