小白问题:js方法的参数问题

请教下面方法中"$0"的意义:

//半角数字转全角数字的方法
function toSBC(text) {
return text.replace(/[\x20-\x7e]/g,
function($0) {
return $0 == " " ? "\u3000" : String.fromCharCode($0.charCodeAt(0)
+ 0xfee0);
});
}

js允许美元符号作为方法、变量名,所以jquery里面经常用这个符号。
这里就是匿名函数的参数。

就一个正常的参数变量
和下面使用方式没区别,可以任意定义

 function(str) {
return str == " " ? "\u3000" : String.fromCharCode($0.charCodeAt(0)
+ 0xfee0);
});