Returns a reference to the prototype for a collator.
collator argument is the name of a collator.
prototype property to provide a base set of functionality to a class of objects. New instances of an object "inherit" the behavior of the prototype assigned to that object.
For example, to add a method to the
Intl.Collator object that returns the value of the largest element of the set, declare the function, add it to
Intl.Collator.prototype, and then use it.
Supported in the Internet Explorer 11 standards document mode. Also supported in Store apps (Windows 8.1 and Windows Phone 8.1). See Version Information.
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards. Not supported in Windows 8.