Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/2020/SetValueInBuffer.js
r0c6b92a r79a0317 6 6 var $TypeError = require('es-errors/type'); 7 7 var $Uint8Array = GetIntrinsic('%Uint8Array%', true); 8 9 var isInteger = require('../helpers/isInteger'); 8 var isInteger = require('math-intrinsics/isInteger'); 10 9 11 10 var IsBigIntElementType = require('./IsBigIntElementType'); … … 69 68 } 70 69 71 // 5. Let block be arrayBuffer ’s [[ArrayBufferData]] internal slot.70 // 5. Let block be arrayBuffer.[[ArrayBufferData]]. 72 71 73 72 var elementSize = tableTAO.size['$' + type]; // step 6 74 73 75 // 8. If isLittleEndian is not present, set isLittleEndian to either true or false. The choice is implementation dependent and should be the alternative that is most efficient for the implementation. An implementation must use the same value each time this step is executed and the same value must be used for the corresponding step in the GetValueFromBuffer abstract operation.74 // 7. If isLittleEndian is not present, set isLittleEndian to to the value of the [[LittleEndian]] field of the surrounding agent's Agent Record. 76 75 var isLittleEndian = arguments.length > 6 ? arguments[6] : defaultEndianness === 'little'; // step 8 77 76
Note:
See TracChangeset
for help on using the changeset viewer.