From c6fc82359a808d84fc8696669018dba82089b08d Mon Sep 17 00:00:00 2001 From: jhnaldo Date: Sun, 19 Apr 2020 13:16:31 +0900 Subject: [PATCH] Normative: Fixed bug in NumberBitwiseOp (#1956) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 54dc140c49..9d7a9e0bba 100644 --- a/spec.html +++ b/spec.html @@ -1754,7 +1754,7 @@

NumberBitwiseOp ( _op_, _x_, _y_ )

The abstract operation NumberBitwiseOp takes arguments _op_, _x_, and _y_. It performs the following steps when called:

1. Let _lnum_ be ! ToInt32(_x_). - 1. Let _rnum_ be ! ToUint32(_y_). + 1. Let _rnum_ be ! ToInt32(_y_). 1. Return the result of applying the bitwise operator _op_ to _lnum_ and _rnum_. The result is a signed 32-bit integer.