当前位置: 首页 > 网络学院 > 客户端脚本教程 > JavaScript > JavaScript valueOf() 方法
The valueOf() method returns the primitive value of a String object.
valueOf方法返回对象的原始值
The primitive value is inherited by all objects descended from the String object.
原始值继承所有该对象的子对象值
The valueOf() method is usually called automatically by JavaScript behind the scenes and not explicitly in code.
valueOf()方法经常在后台被JavaScript自动调用
stringObject.valueOf() |