📜  jquery 声明变量 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:53.092000             🧑  作者: Mango

代码示例1
var foo = 'some string';

// Popular pattern for variables that contains the result of a call in HTML:
var $foo = $('.foo'); // it's a valid name in jQuery