for (var name in data){ if (!data.hasOwnProperty(name)) continue;
if (typeof data[name] === 'function') continue;
var value = data[name].toString(); name = encodeURIComponent(name); value = encodeURIComponent(value);
pairs.push(name + '=' + value);
}請問個我var name in data代表什么???
請問js里的in代表什么
眼眸繁星
2018-08-09 11:10:09