Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/2015/SetValueInBuffer.js

    r0c6b92a r79a0317  
    66var $Uint8Array = GetIntrinsic('%Uint8Array%', true);
    77
    8 var isInteger = require('../helpers/isInteger');
     8var isInteger = require('math-intrinsics/isInteger');
    99
    1010var IsDetachedBuffer = require('./IsDetachedBuffer');
     
    2424var TypeToAO = {
    2525        __proto__: null,
    26         Int8: ToInt8,
    27         Uint8: ToUint8,
    28         Uint8C: ToUint8Clamp,
    29         Int16: ToInt16,
    30         Uint16: ToUint16,
    31         Int32: ToInt32,
    32         Uint32: ToUint32
     26        $Int8: ToInt8,
     27        $Uint8: ToUint8,
     28        $Uint8C: ToUint8Clamp,
     29        $Int16: ToInt16,
     30        $Uint16: ToUint16,
     31        $Int32: ToInt32,
     32        $Uint32: ToUint32
    3333};
    3434
     
    9494                var n = elementSize; // step 3.a
    9595
    96                 var convOp = TypeToAO[type]; // step 3.b
     96                var convOp = TypeToAO['$' + type]; // step 3.b
    9797
    9898                var intValue = convOp(value); // step 3.c
Note: See TracChangeset for help on using the changeset viewer.