in JavaScript by
What is the basic purpose of the "toLocateString()" method?

a) It returns a localised object representation

b) It returns a localized string representation of the object

c) It return a local time in the string format

d) It return a parsed string

1 Answer

0 votes
by

Answer: B

Reason: The "ToLocatestring ()" method is one of the pre-defined methods of JavaScript, which returns the localized string representation of the object. For example the "date.toLocaleSting is also one of the predefined functions of the javascript that is used for converting time and date into a string.

Related questions

+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
0 votes
asked Mar 24, 2021 in JavaScript by sharadyadav1986
+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
...