@@ -372,7 +372,7 @@ function ArrayToString() {
372372 func = array . join ;
373373 }
374374 if ( ! IS_SPEC_FUNCTION ( func ) ) {
375- return % _CallFunction ( array , $objectToString ) ;
375+ return % _CallFunction ( array , ObjectToString ) ;
376376 }
377377 return % _CallFunction ( array , func ) ;
378378}
@@ -447,7 +447,7 @@ function ArrayPop() {
447447
448448 n -- ;
449449 var value = array [ n ] ;
450- $delete ( array , ToName ( n ) , true ) ;
450+ Delete ( array , ToName ( n ) , true ) ;
451451 array . length = n ;
452452 return value ;
453453}
@@ -620,7 +620,7 @@ function ArrayShift() {
620620 return ;
621621 }
622622
623- if ( $objectIsSealed ( array ) ) throw MakeTypeError ( kArrayFunctionsOnSealed ) ;
623+ if ( ObjectIsSealed ( array ) ) throw MakeTypeError ( kArrayFunctionsOnSealed ) ;
624624
625625 if ( % IsObserved ( array ) )
626626 return ObservedArrayShift . call ( array , len ) ;
@@ -671,7 +671,7 @@ function ArrayUnshift(arg1) { // length == 1
671671 var num_arguments = % _ArgumentsLength ( ) ;
672672
673673 if ( len > 0 && UseSparseVariant ( array , len , IS_ARRAY ( array ) , len ) &&
674- ! $objectIsSealed ( array ) ) {
674+ ! ObjectIsSealed ( array ) ) {
675675 SparseMove ( array , 0 , 0 , len , num_arguments ) ;
676676 } else {
677677 SimpleMove ( array , 0 , 0 , len , num_arguments ) ;
@@ -817,9 +817,9 @@ function ArraySplice(start, delete_count) {
817817 deleted_elements . length = del_count ;
818818 var num_elements_to_add = num_arguments > 2 ? num_arguments - 2 : 0 ;
819819
820- if ( del_count != num_elements_to_add && $objectIsSealed ( array ) ) {
820+ if ( del_count != num_elements_to_add && ObjectIsSealed ( array ) ) {
821821 throw MakeTypeError ( kArrayFunctionsOnSealed ) ;
822- } else if ( del_count > 0 && $objectIsFrozen ( array ) ) {
822+ } else if ( del_count > 0 && ObjectIsFrozen ( array ) ) {
823823 throw MakeTypeError ( kArrayFunctionsOnFrozen ) ;
824824 }
825825
@@ -1523,7 +1523,7 @@ var unscopables = {
15231523 DONT_ENUM | READ_ONLY ) ;
15241524
15251525// Set up non-enumerable functions on the Array object.
1526- $installFunctions ( GlobalArray , DONT_ENUM , [
1526+ InstallFunctions ( GlobalArray , DONT_ENUM , [
15271527 "isArray" , ArrayIsArray
15281528] ) ;
15291529
@@ -1544,7 +1544,7 @@ var getFunction = function(name, jsBuiltin, len) {
15441544// set their names.
15451545// Manipulate the length of some of the functions to meet
15461546// expectations set by ECMA-262 or Mozilla.
1547- $installFunctions ( GlobalArray . prototype , DONT_ENUM , [
1547+ InstallFunctions ( GlobalArray . prototype , DONT_ENUM , [
15481548 "toString" , getFunction ( "toString" , ArrayToString ) ,
15491549 "toLocaleString" , getFunction ( "toLocaleString" , ArrayToLocaleString ) ,
15501550 "join" , getFunction ( "join" , ArrayJoin ) ,
@@ -1573,7 +1573,7 @@ $installFunctions(GlobalArray.prototype, DONT_ENUM, [
15731573// The internal Array prototype doesn't need to be fancy, since it's never
15741574// exposed to user code.
15751575// Adding only the functions that are actually used.
1576- $setUpLockedPrototype ( InternalArray , GlobalArray ( ) , [
1576+ SetUpLockedPrototype ( InternalArray , GlobalArray ( ) , [
15771577 "concat" , getFunction ( "concat" , ArrayConcatJS ) ,
15781578 "indexOf" , getFunction ( "indexOf" , ArrayIndexOf ) ,
15791579 "join" , getFunction ( "join" , ArrayJoin ) ,
@@ -1583,7 +1583,7 @@ $setUpLockedPrototype(InternalArray, GlobalArray(), [
15831583 "splice" , getFunction ( "splice" , ArraySplice )
15841584] ) ;
15851585
1586- $setUpLockedPrototype ( InternalPackedArray , GlobalArray ( ) , [
1586+ SetUpLockedPrototype ( InternalPackedArray , GlobalArray ( ) , [
15871587 "join" , getFunction ( "join" , ArrayJoin ) ,
15881588 "pop" , getFunction ( "pop" , ArrayPop ) ,
15891589 "push" , getFunction ( "push" , ArrayPush ) ,
0 commit comments