mirror of https://github.com/tc39/test262.git
15 lines
474 B
JavaScript
15 lines
474 B
JavaScript
// Copyright 2012 Mozilla Corporation. All rights reserved.
|
|
// This code is governed by the license found in the LICENSE file.
|
|
|
|
/**
|
|
* @description Tests that String.prototype.localeCompare
|
|
* meets the requirements for built-in objects defined by the introduction of
|
|
* chapter 15 of the ECMAScript Language Specification.
|
|
* @author Norbert Lindenberg
|
|
*/
|
|
|
|
$INCLUDE("testBuiltInObject.js");
|
|
|
|
testBuiltInObject(String.prototype.localeCompare, true, false, [], 1);
|
|
|