为了账号安全,请及时绑定邮箱和手机立即绑定

为什么​Javascript不能直接用==或者===来判断两个数组活着对象是否相等?

为什么​Javascript不能直接用==或者===来判断两个数组活着对象是否相等?

retisan 2017-09-21 14:46:31
<script type="text/javascript">        alert([]==[]); // false        alert([]===[]); // false</script>
查看完整描述

4 回答

?
__innocence

TA贡献313条经验 获得超208个赞

对象A == 对象B 为true的充要条件是 : A、B为同一个对象

查看完整回答
3 反对 回复 2017-09-21
?
杜发明

TA贡献202条经验 获得超301个赞

  1. 你这个问题其实和 == and === 其实关系不大,后面这个是忽略了类型的判断;

  2. 判断相等一般情况下都是类型和值都要一样,虽然这块是两个看似一样的空数组,但是这已经是两个不同的对象了。通常情况用键值,字符串进行判断。

查看完整回答
1 反对 回复 2017-09-21
?
慕妹4267064

TA贡献9条经验 获得超0个赞

https://api.jquery.com/?s=%E7%8C%A9%E8%BF%B8%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E6%9C%89%E6%95%88%E5%B0%84%E7%A8%8B%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6A
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E8%BE%B0%E7%A3%95%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E6%81%92%E5%8E%8B%E9%98%80%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%77
https://www.sordum.org/?s=%E7%82%AE%E7%8E%96%2C%70%63%70%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%35%E4%BB%A3%E9%A3%8E%E8%A7%A3%E5%9B%BE%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%7A
https://api.jquery.com/?s=%E8%95%89%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%90%8E%E5%BA%A7%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6A
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E9%B8%A5%E8%90%8D%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%AE%89%E8%A3%85%E8%A7%86%E9%A2%91%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%74
https://www.sordum.org/?s=%E5%AA%92%E6%8D%B6%2C%35%E4%BB%A3%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%9B%BE%E7%89%87%E6%AC%A3%E8%B5%8F%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://api.jquery.com/?s=%E4%B8%9A%E8%B4%AD%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%36%E5%9B%BE%E7%89%87%E6%AC%A3%E8%B5%8F%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%61
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E8%AE%BF%E6%B7%8C%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%88%86%E8%A7%A3%E5%9B%BE%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%78
https://www.sordum.org/?s=%E8%B5%B4%E5%9D%91%2C%E6%9D%BF%E7%90%83%E5%B1%B1%E7%8C%AB%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%76
https://www.sordum.org/?s=%E8%B5%90%E6%AF%93%2C%E7%BE%8E%E7%89%88%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E6%9E%AA%E5%9B%BE%E7%89%87%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://api.jquery.com/?s=%E5%A9%86%E8%A1%8C%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%9B%BE%E7%89%87%E6%AC%A3%E8%B5%8F%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%67
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%B1%91%E6%96%A1%2C%E8%BF%9B%E5%8F%A3%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E6%9E%AA%E5%9B%BE%E7%89%87%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%82%85%E8%BE%83%2C%E7%89%87%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%38%E8%BF%9E%E5%8F%91%E4%BB%B7%E6%A0%BC%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6D
https://api.jquery.com/?s=%E7%BB%A6%E6%BD%9C%2C%E6%9D%BF%E7%90%83%E7%9A%84%E5%85%A8%E9%83%A8%E9%9B%B6%E4%BB%B6%E5%9B%BE%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%63
https://www.sordum.org/?s=%E4%BE%B5%E5%89%82%2C%E6%9D%BF%E7%90%83%31%30%30%E7%B1%B3%E7%B2%BE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%72
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%9D%AA%E5%86%92%2C%36%2E%33%35%E6%9D%BF%E7%90%83%E6%89%93%E9%87%8E%E7%8C%AA%E8%A7%86%E9%A2%91%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://api.jquery.com/?s=%E7%B3%96%E6%87%A6%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E7%BB%84%E8%A3%85%E6%B8%85%E5%8D%95%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%67
https://www.sordum.org/?s=%E7%82%AE%E6%B1%89%2C%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E7%9A%84%E6%9E%AA%E7%AE%A1%E5%A4%9A%E9%95%BF%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%74
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%80%80%E8%83%B8%2C%E6%9D%BF%E7%90%83%E8%B0%83%E6%A0%A1%E5%A4%9A%E5%B0%91%E7%B1%B3%E6%9C%80%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6B
https://api.jquery.com/?s=%E8%90%84%E4%B9%A0%2C%E8%BF%9E%E5%8F%91%E6%9D%BF%E7%90%83%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E7%BB%84%E8%A3%85%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%65
https://www.sordum.org/?s=%E5%BD%BC%E9%9D%A0%2C%E6%9D%BF%E7%90%83%E4%B8%80%E8%88%AC%E5%A4%9A%E5%B0%91%E7%B1%B3%E5%BD%92%E9%9B%B6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%75
https://api.jquery.com/?s=%E7%95%8F%E7%AB%AF%2C%E9%92%A2%E7%8F%A0%E4%B8%8E%E9%93%85%E5%BC%B9%E7%B2%BE%E5%BA%A6%E7%9A%84%E5%8C%BA%E5%88%AB%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%88%8E%E8%B5%B5%2C%E6%BB%91%E8%86%9B%E7%AE%A1%E6%89%93%E5%A4%9A%E5%A4%A7%E7%9A%84%E9%92%A2%E7%8F%A0%E6%9C%80%E5%87%86%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%76
https://www.sordum.org/?s=%E7%A8%8D%E5%9B%9E%2C%E6%B2%A1%E8%86%9B%E7%BA%BF%E5%8F%AF%E4%BB%A5%E6%89%93%E9%93%85%E5%BC%B9%E5%90%97%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%65
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E7%B1%B3%E5%95%A6%2C%E6%BB%91%E8%86%9B%E7%94%A8%E7%B2%BE%E5%AF%86%E7%AE%A1%E8%BF%98%E6%98%AF%E9%93%9C%E7%AE%A1%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6A
https://www.sordum.org/?s=%E6%B3%BC%E9%94%B9%2C%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E6%BB%91%E8%86%9B%E5%90%B9%E7%9A%84%E7%B2%BE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%74
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%9D%A6%E4%BF%83%2C%E9%92%A2%E7%8F%A0%E5%A5%BD%E8%BF%98%E6%98%AF%E9%93%85%E5%BC%B9%E5%87%86%E5%BA%A6%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%63
https://api.jquery.com/?s=%E5%86%88%E4%B8%96%2C%E6%80%8E%E4%B9%88%E6%8F%90%E9%AB%98%E7%A7%83%E5%AD%90%E7%B2%BE%E5%87%86%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%76
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%9A%87%E8%B0%A2%2C%E9%92%A2%E7%8F%A0%E6%BB%91%E8%86%9B%E7%9A%84%E7%B2%BE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%76
https://api.jquery.com/?s=%E4%BE%A3%E8%AF%86%2C%36%6D%6D%E6%BB%91%E8%86%9B%E9%92%A2%E7%8F%A0%E6%9C%89%E7%B2%BE%E5%BA%A6%E5%90%97%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%72
https://api.jquery.com/?s=%E5%AE%A2%E5%8F%B7%2C%E6%BB%91%E8%86%9B%E7%AE%A1%E5%8F%AF%E4%BB%A5%E5%81%9A%E5%A4%9A%E7%9F%AD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%64
https://api.jquery.com/?s=%E5%AF%BF%E5%85%8B%2C%E6%BB%91%E8%86%9B%37%6D%6D%E6%80%8E%E4%B9%88%E6%8F%90%E9%AB%98%E7%B2%BE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%79
https://api.jquery.com/?s=%E6%98%A0%E8%98%B8%2C%E7%B2%BE%E5%AF%86%E6%BB%91%E8%86%9B%E7%AE%A1%E6%89%93%E9%93%85%E5%BC%B9%E5%87%86%E5%90%97%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%63
https://api.jquery.com/?s=%E5%8E%8D%E7%A3%BA%2C%E6%BB%91%E8%86%9B%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E5%87%86%E7%A1%AE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%68
https://api.jquery.com/?s=%E6%8E%A0%E5%90%A9%2C%E5%BD%B1%E5%93%8D%E7%A7%83%E5%AD%90%E7%9A%84%E7%B2%BE%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%78
https://api.jquery.com/?s=%E5%9E%82%E6%92%91%2C%70%63%70%E7%B2%BE%E5%BA%A6%E9%97%AE%E9%A2%98%E4%B8%80%E4%BA%8C%E4%B8%89%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%75
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%B7%A4%E5%A6%87%2C%E6%80%8E%E6%A0%B7%E5%A2%9E%E5%8A%A0%E6%BB%91%E8%86%9B%E5%90%B9%E7%B2%BE%E5%87%86%E5%BA%A6%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%61
https://www.sordum.org/?s=%E7%8A%B9%E6%B2%B3%2C%E6%BB%91%E8%86%9B%E5%90%B9%E6%81%92%E5%8E%8B%E5%A4%9A%E5%B0%91%E7%A8%B3%E5%AE%9A%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%68
https://api.jquery.com/?s=%E9%A9%AE%E6%BB%B4%2C%E7%A7%83%E5%AD%90%E7%9A%84%E7%B2%BE%E5%BA%A6%E6%80%8E%E4%B9%88%E6%A0%A1%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%63
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E9%99%85%E6%AC%A3%2C%E5%BF%AB%E6%8E%92%E5%BD%B1%E5%93%8D%E5%B0%84%E5%87%BB%E7%B2%BE%E5%BA%A6%E5%8E%9F%E5%9B%A0%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%68
https://www.sordum.org/?s=%E8%88%85%E5%B0%9A%2C%E7%A7%83%E5%AD%90%E6%8F%90%E9%AB%98%E7%B2%BE%E5%BA%A6%E6%80%8E%E4%B9%88%E8%B0%83%E8%AF%95%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6A
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%86%8D%2C%E5%BC%B9%E5%BC%93%E6%92%92%E6%94%BE%E5%99%A8%E5%88%B6%E4%BD%9C%E6%95%99%E7%A8%8B%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%7A
https://www.sordum.org/?s=%E9%98%B2%E9%AA%84%2C%E9%92%A2%E7%8F%A0%E6%8A%A2%E7%9A%84%E5%88%B6%E4%BD%9C%E6%96%B9%E6%B3%95%E5%9B%BE%E7%89%87%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%64
https://api.jquery.com/?s=%E7%8C%BF%E8%99%91%2C%31%30%30%30%30%E5%85%83%E7%9A%84%E6%9C%A8%E5%88%B6%E5%BC%B9%E5%BC%93%E5%9B%BE%E7%89%87%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%69
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%82%A0%E5%98%89%2C%E5%BC%B9%E5%BC%93%E6%92%92%E6%94%BE%E5%99%A8%E7%BB%93%E6%9E%84%E5%9B%BE%E7%BA%B8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6E
https://api.jquery.com/?s=%E8%81%98%E5%96%9C%2C%E5%BC%B9%E5%BC%93%E5%9B%BE%E7%BA%B8%E5%B0%BA%E5%AF%B8%E5%A4%A7%E5%85%A8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%78
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E8%B6%B4%E8%BE%88%2C%E5%BC%B9%E5%BC%93%E5%88%B6%E4%BD%9C%E5%9B%BE%E7%BA%B8%E5%A4%A7%E5%85%A8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%75
https://www.sordum.org/?s=%E8%9D%97%E8%AF%8E%2C%E5%BC%B9%E5%BC%93%E6%9E%AA%E7%BB%93%E6%9E%84%E5%9B%BE%E7%BA%B8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%61
https://api.jquery.com/?s=%E5%8E%A6%E5%B2%97%2C%E6%9C%BA%E6%A2%B0%E5%BC%B9%E5%BC%93%E5%88%B6%E4%BD%9C%E6%96%B9%E6%B3%95%E5%9B%BE%E8%A7%A3%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%79
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E5%97%A3%E8%BE%88%2C%E8%87%AA%E5%88%B6%E5%BC%B9%E5%BC%93%E6%92%92%E6%94%BE%E5%99%A8%E5%9B%BE%E7%BA%B8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%75
https://www.sordum.org/?s=%E5%8C%9A%E8%B0%95%2C%E5%BC%B9%E5%BC%93%E4%B8%89%E7%82%B9%E4%B8%80%E7%BA%BF%E7%9E%84%E5%87%86%E5%9B%BE%E8%A7%A3%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%70
https://api.jquery.com/?s=%E4%BF%A3%E5%A5%B6%2C%39%32%E5%BC%8F%E8%AD%A6%E7%94%A8%E6%89%8B%E6%9E%AA%E9%BB%91%E5%B8%82%E4%BB%B7%E6%A0%BC%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E7%A0%82%E8%AF%B5%2C%E4%B8%AD%E5%9B%BD%39%32%E5%BC%8F%E8%AD%A6%E7%94%A8%E6%89%8B%E6%9E%AA%E5%9B%BE%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%65
https://www.sordum.org/?s=%E5%BA%95%E6%8A%9B%2C%E5%86%9B%E7%94%A8%E5%92%8C%E8%AD%A6%E7%94%A8%39%32%E5%BC%8F%E7%9A%84%E5%8C%BA%E5%88%AB%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6F
https://api.jquery.com/?s=%E6%A0%BD%E8%85%8B%2C%39%32%E5%B0%84%E5%87%BB%E7%9E%84%E5%87%86%E5%9B%BE%E8%A7%A3%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%62
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%B1%A0%E7%94%AD%2C%E4%B8%AD%E5%9B%BD%E6%9C%80%E6%96%B0%E8%AD%A6%E7%94%A8%E6%9E%AA%6E%70%32%32%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%65
https://www.sordum.org/?s=%E5%98%8F%E5%B3%A1%2C%39%32%E6%94%B9%E6%9E%AA%E6%94%AF%E4%B8%8E%39%32%E7%9A%84%E5%8C%BA%E5%88%AB%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%75
https://api.jquery.com/?s=%E6%9F%93%E9%A5%BA%2C%E4%B8%AD%E5%9B%BD%E6%9C%80%E6%96%B0%E8%AD%A6%E7%94%A8%E6%89%8B%E6%9E%AA%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%69
https://www.sordum.org/?s=%E9%85%89%E9%A5%B0%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E5%93%AA%E4%B8%AA%E5%9E%8B%E5%8F%B7%E6%9C%80%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6C
https://api.jquery.com/?s=%E7%BB%BF%E5%9F%94%2C%39%32%E5%BC%8F%E6%9E%AA%E6%94%AF%E9%9B%B6%E9%83%A8%E4%BB%B6%E5%90%8D%E7%A7%B0%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%61
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E4%B8%A5%E8%87%80%2C%E4%B9%9D%E4%BA%8C%E5%BC%8F%E6%89%8B%E6%9E%AA%E9%BB%91%E5%B8%82%E4%BB%B7%E6%A0%BC%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%79
https://www.sordum.org/?s=%E8%87%B3%E8%9A%9C%2C%E4%B9%9D%E4%BA%8C%E5%BC%8F%E8%AD%A6%E7%94%A8%E6%89%8B%E6%9E%AA%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6D
https://api.jquery.com/?s=%E5%B8%82%E5%AF%90%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E5%9E%8B%E5%8F%B7%E5%A4%A7%E5%85%A8%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%66
https://api.jquery.com/?s=%E6%8C%AA%E6%B1%97%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%31%37%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%71
https://api.jquery.com/?s=%E5%B2%A9%E5%8C%99%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E5%90%84%E5%9E%8B%E5%8F%B7%E5%8C%BA%E5%88%AB%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%72
https://www.sordum.org/?s=%E9%93%9D%E6%8E%A0%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%31%38%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6E
https://api.jquery.com/?s=%E4%BB%AC%E9%85%B1%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E9%82%A3%E6%AC%BE%E6%9C%80%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6F
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E8%B0%91%E6%97%A8%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%89%80%E6%9C%89%E5%9E%8B%E5%8F%B7%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%74
https://www.sordum.org/?s=%E6%B6%AF%E7%9B%8E%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%20%32%36%E4%B8%8E%34%33%E5%93%AA%E4%B8%AA%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%78
https://api.jquery.com/?s=%E5%9C%86%E8%AF%BC%2C%E9%BB%91%E5%B8%82%E6%A0%BC%E6%B4%9B%E5%85%8B%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%71
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%B6%A4%E5%A3%81%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%89%8B%E6%9E%AA%E6%9C%89%E5%93%AA%E4%BA%9B%E5%9E%8B%E5%8F%B7%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%77
https://www.sordum.org/?s=%E5%93%A6%E9%AD%8F%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%9E%AA%E6%97%8F%E5%90%84%E4%B8%AA%E5%9E%8B%E5%8F%B7%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%6D
https://api.jquery.com/?s=%E9%A3%9E%E6%83%A9%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%9C%80%E6%96%B0%E5%9E%8B%E5%8F%B7%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%62
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%98%A5%E5%86%8D%2C%E6%A0%BC%E6%B4%9B%E5%85%8B%31%37%E5%92%8C%31%39%E5%93%AA%E4%B8%AA%E5%A5%BD%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%73
https://www.sordum.org/?s=%E8%B4%9D%E5%A9%86%2C%71%73%7A%39%32%E5%BC%8F%E5%8D%8A%E8%87%AA%E5%8A%A8%E6%89%8B%E6%9E%AA%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%64
https://api.jquery.com/?s=%E5%85%AB%E7%BD%A9%2C%E4%B8%AD%E5%9B%BD%E7%8E%B0%E5%BD%B9%E8%AD%A6%E7%94%A8%E6%89%8B%E6%9E%AA%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%69
https://www.chunyuyisheng.com/pc/search/qalist/?query=%E6%B5%85%2C%E9%BB%91%E5%B8%82%71%73%7A%39%32%E5%BC%8F%39%E6%AF%AB%E7%B1%B3%E6%89%8B%E6%9E%AA%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%73
https://www.sordum.org/?s=%E6%BB%93%E7%A9%86%2C%E4%B8%8A%E6%B5%B7%E8%AD%A6%E5%AF%9F%E9%85%8D%E6%A0%BC%E6%B4%9B%E5%85%8B%E3%80%8E%31%35%4F%4F%2B%D0%A7%37%D0%A7%36%3B%51%E3%80%8F%70

查看完整回答
反对 回复 2021-09-27
?
Willsf

TA贡献3条经验 获得超0个赞

数组,函数,对象都是引用类型,引用类型按引用访问的,换句话说就是比较两个对象的堆内存中的地址是否相同,两个数组堆内存中地址是不同的,要相等得这样var a=[],var b=a;a===b true 

查看完整回答
反对 回复 2017-09-22
?
橋本奈奈未

TA贡献436条经验 获得超108个赞

因为对应不同的值,每个数组和对象对应不同的内存空间。比较数组和对象是比较引用(或者叫指针)是否相同

查看完整回答
反对 回复 2017-09-21
  • 4 回答
  • 0 关注
  • 2727 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信