@@ -601,27 +601,27 @@ function PartitionNumberPattern(numberFormat, x) {
601
601
// i. Remove the first element from groups and let integerGroup be the value of that element.
602
602
let integerGroup = arrShift . call ( groups ) ;
603
603
// ii. Add new part record { [[type]]: "integer", [[value]]: integerGroup } as a new element of the list result.
604
- arrPush . call ( result , { type : 'integer' , value : integerGroup } ) ;
604
+ arrPush . call ( result , { '[[ type]]' : 'integer' , '[[ value]]' : integerGroup } ) ;
605
605
// iii. If groups List is not empty, then:
606
606
if ( groups . length ) {
607
607
// 1. Add new part record { [[type]]: "group", [[value]]: groupSepSymbol } as a new element of the list result.
608
- arrPush . call ( result , { type : 'group' , value : groupSepSymbol } ) ;
608
+ arrPush . call ( result , { '[[ type]]' : 'group' , '[[ value]]' : groupSepSymbol } ) ;
609
609
}
610
610
}
611
611
}
612
612
// 10. Else,
613
613
else {
614
614
// a. Add new part record { [[type]]: "integer", [[value]]: integer } as a new element of the list result.
615
- arrPush . call ( result , { type : 'integer' , value : integer } ) ;
615
+ arrPush . call ( result , { '[[ type]]' : 'integer' , '[[ value]]' : integer } ) ;
616
616
}
617
617
// 11. If fraction is not undefined, then:
618
618
if ( fraction !== undefined ) {
619
619
// a. Let decimalSepSymbol be the ILND String representing the decimal separator.
620
620
let decimalSepSymbol = ild . decimal ;
621
621
// a. Add new part record { [[type]]: "decimal", [[value]]: decimalSepSymbol } as a new element of the list result.
622
- arrPush . call ( result , { type : 'decimal' , value : decimalSepSymbol } ) ;
622
+ arrPush . call ( result , { '[[ type]]' : 'decimal' , '[[ value]]' : decimalSepSymbol } ) ;
623
623
// a. Add new part record { [[type]]: "fraction", [[value]]: fraction } as a new element of the list result.
624
- arrPush . call ( result , { type : 'fraction' , value : fraction } ) ;
624
+ arrPush . call ( result , { '[[ type]]' : 'fraction' , '[[ value]]' : fraction } ) ;
625
625
}
626
626
}
627
627
}
@@ -630,14 +630,14 @@ function PartitionNumberPattern(numberFormat, x) {
630
630
// i. Let plusSignSymbol be the ILND String representing the plus sign.
631
631
let plusSignSymbol = ild . plusSign ;
632
632
// ii. Add new part record { [[type]]: "plusSign", [[value]]: plusSignSymbol } as a new element of the list result.
633
- arrPush . call ( result , { type : 'plusSign' , value : plusSignSymbol } ) ;
633
+ arrPush . call ( result , { '[[ type]]' : 'plusSign' , '[[ value]]' : plusSignSymbol } ) ;
634
634
}
635
635
// a. Else if p is equal "minusSign", then:
636
636
else if ( p === "minusSign" ) {
637
637
// i. Let minusSignSymbol be the ILND String representing the minus sign.
638
638
let minusSignSymbol = ild . minusSign ;
639
639
// ii. Add new part record { [[type]]: "minusSign", [[value]]: minusSignSymbol } as a new element of the list result.
640
- arrPush . call ( result , { type : 'minusSign' , value : minusSignSymbol } ) ;
640
+ arrPush . call ( result , { '[[ type]]' : 'minusSign' , '[[ value]]' : minusSignSymbol } ) ;
641
641
}
642
642
// a. Else if p is equal "percentSign" and numberFormat.[[style]] is "percent", then:
643
643
else if ( p === "percentSign" && internal [ '[[style]]' ] === "percent" ) {
0 commit comments