+1 vote
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

0 votes
asked Oct 10, 2022 in JavaScript by SakshiSharma
0 votes
asked Mar 21, 2021 in JavaScript by rajeshsharma
...