0 votes
in JavaScript by
Which of the following number object function returns the value of the number?

a) toString()

b) valueOf()

c) toLocaleString()

d) toPrecision()

1 Answer

0 votes
by

Answer: B

Reason: The method " valueOf()" returns the value of the parameter that was passed in it.

Related questions

0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
0 votes
asked Oct 9, 2022 in JavaScript by Robin
...