Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$とはどう違い$$ますか?どちらもノードのリストを返すようですが、filter適用できず$$、例外がスローされます。 他の違いは何ですか?
$
$$
filter
$変数名です。$$は別の変数名です。
jQuery は関数を$変数に割り当てます。
jQuery は (デフォルトでは)$$変数に対して何もしません (undefined他の何かがそれに値を割り当てない限り、そうなります)。
undefined