您的当前位置:首页正文

js获取index

来源:要发发知识网
function getIndex(area , context){
return Array.prototype.indexOf.call(area, context);
}