From 255b35a650c936eff7423b4275c5de38f77e7f22 Mon Sep 17 00:00:00 2001 From: Justin Ridgewell Date: Fri, 6 Apr 2018 00:12:04 +0100 Subject: [PATCH] Editorial: Default littleEndian to false in DataView.p.getInt32 All the other getter/setter methods default `littleEndian` to `false` when it is not present. This doesn't affect the overall algorithm. --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index d37f5f994d..9de2a66250 100644 --- a/spec.html +++ b/spec.html @@ -36699,7 +36699,7 @@

DataView.prototype.getInt32 ( _byteOffset_ [ , _littleEndian_ ] )

When the `getInt32` method is called with argument _byteOffset_ and optional argument _littleEndian_, the following steps are taken:

1. Let _v_ be the *this* value. - 1. If _littleEndian_ is not present, let _littleEndian_ be *undefined*. + 1. If _littleEndian_ is not present, let _littleEndian_ be *false*. 1. Return ? GetViewValue(_v_, _byteOffset_, _littleEndian_, `"Int32"`).