0 votes
in JavaScript by
Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?

a) toExponential()

b) toFixed()

c) toPrecision()

d) toLocaleString()

1 Answer

0 votes
by

Answer: B

Reason: The "tofixed()" method formats the given number with a specific number of digits to the right of the decimal.

...