Commit 6749e858 authored by André Bargull's avatar André Bargull
Browse files

Bug 1782273 - Part 14: Apply two space indent for...

Bug 1782273 - Part 14: Apply two space indent for js/src/builtin/{Set,Sorting,Tuple,Utilities,WeakMap,WeakSet}.js. r=tcampbell

Depends on D153247

Differential Revision: https://phabricator.services.mozilla.com/D153248
parent 9bb3dc41
Loading
Loading
Loading
Loading
+508 −509
Original line number Diff line number Diff line
@@ -565,7 +565,6 @@ function $SetSpecies() {
}
SetCanonicalName($SetSpecies, "get [Symbol.species]");


var setIteratorTemp = { setIterationResult: null };

function SetIteratorNext() {
+487 −490
Original line number Diff line number Diff line
@@ -278,7 +278,6 @@ function TupleJoin(separator) {
  return R;
}


// proposal-record-tuple
// Tuple.prototype.lastIndexOf()
function TupleLastIndexOf(valueToFind /* , fromIndex */) {
@@ -342,7 +341,6 @@ function TupleEvery(callbackfn) {
// proposal-record-tuple
// Tuple.prototype.filter()
function TupleFilter(callbackfn) {

  /* Steps 1-2 */
  var list = ThisTupleValue(this);

@@ -408,7 +406,6 @@ function TupleForEach(callbackfn) {
// proposal-record-tuple
// Tuple.prototype.map()
function TupleMap(callbackfn) {

  /* Steps 1-2. */
  var list = ThisTupleValue(this);

+133 −137
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@

/********** Specification types **********/


// A "Record" is an internal type used in the ECMAScript spec to define a struct
// made up of key / values. It is never exposed to user script, but we use a
// simple Object (with null prototype) as a convenient implementation.
@@ -38,16 +37,13 @@ function new_Record() {
  return std_Object_create(null);
}


/********** Abstract operations defined in ECMAScript Language Specification **********/


/* Spec: ECMAScript Language Specification, 5.1 edition, 9.2 and 11.4.9 */
function ToBoolean(v) {
  return !!v;
}


/* Spec: ECMAScript Language Specification, 5.1 edition, 9.3 and 11.4.6 */
function ToNumber(v) {
  return +v;
+16 −16

File changed.

Contains only whitespace changes.

+11 −11

File changed.

Contains only whitespace changes.

+169 −169

File changed.

Contains only whitespace changes.

Loading