Skip to content

Commit

Permalink
Editorial: Default littleEndian to false in DataView.p.getInt32
Browse files Browse the repository at this point in the history
All the other getter/setter methods default `littleEndian` to `false`
when it is not present.

This doesn't affect the overall algorithm.
  • Loading branch information
jridgewell authored and ljharb committed Apr 5, 2018
1 parent c4126e6 commit 255b35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -36699,7 +36699,7 @@ <h1>DataView.prototype.getInt32 ( _byteOffset_ [ , _littleEndian_ ] )</h1>
<p>When the `getInt32` method is called with argument _byteOffset_ and optional argument _littleEndian_, the following steps are taken:</p>
<emu-alg>
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"`).
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 255b35a

Please sign in to comment.