当前位置: 首页 > 网络学院 > 客户端脚本教程 > JavaScript > JavaScript valueOf()方法
The valueOf() method returns the primitive value of an Array object.
valueOf()方法可返回数组对象的原始值
The primitive value is inherited by all objects descended from the Array object.
原始值可被所有来自数组对象的子对象所继承。
The valueOf() method is usually called automatically by JavaScript behind the scenes and not explicitly in code.
valueOf()方法常被JS在后台自动的调用,而非代码
arrayObject.valueOf() |