toLocaleString

Summary

Returns a string representing the object. This method is meant to be overriden by derived objects for locale-specific purposes.

Method of Object
ECMA Version: ECMA-262 Edition 3

Syntax

toLocaleString()

Parameters

None.

Description

Object's toLocaleString returns the result of calling toString.

This function is provided to give objects a generic toLocaleString method, even though not all may use it. Currently, only Array, Number, and Date override toLocaleString.

See also

toString

Tags (0)

Edit tags
  • No tags

Attachments (0)

 

Attach file