25,000 results
Open links in new tab
  1. Object.prototype.valueOf () - JavaScript | MDN - MDN Web Docs

    Aug 19, 2025 · JavaScript calls the valueOf method to convert an object to a primitive value. You rarely need to invoke the valueOf …

  2. Java String valueOf () Method - W3Schools

    Definition and Usage The valueOf () method returns the string representation of the specified value.

  3. Java String valueOf () Method - GeeksforGeeks

    Dec 2, 2024 · The valueOf () method of the String class in Java helps to convert various data types like integers, floats, booleans, …

  4. JavaScript String valueOf () Method - W3Schools

    Description The valueOf () method returns the primitive value of a string. The valueOf () method does not change the original string. …

  5. String.prototype.valueOf () - JavaScript - MDN

    Jul 10, 2025 · A string representing the primitive value of a given String object. Description The valueOf () method of String returns …

  6. Java - valueOf () Method - Online Tutorials Library

    The valueOf method returns the relevant Number Object holding the value of the argument passed. The argument can be a primitive …

  7. JavaScript Object.prototype.valueOf() Method - GeeksforGeeks

    Jul 23, 2025 · In JavaScript, the Object.prototype.valueOf () method is used to return the primitive value of the specified object. …

  8. valueOf () vs toString () in JavaScript: Why Does valueOf () Trump ...

    Jul 17, 2026 · Its primary purpose is to return the primitive value of an object. A primitive value is a non-object value like number, …

  9. Java valueOf () 方法 - 菜鸟教程

    Java valueOf () 方法 Java Number类 valueOf () 方法用于返回给定参数的原生 Number 对象值,参数可以是原生数据类型, String等。 …

  10. Difference between parseInt () and valueOf () in Java?

    Jul 18, 2023 · Well, the API for Integer.valueOf (String) does indeed say that the String is interpreted exactly as if it were given to …