forked from es5/es5.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
es5_errata.html
1534 lines (1534 loc) · 127 KB
/
es5_errata.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OOo-dev 3.3 (Unix)">
<META NAME="CREATED" CONTENT="20100801;1420000">
<META NAME="CHANGED" CONTENT="20100801;11480000">
<STYLE TYPE="text/css">
<!--
@page { size: 21.59cm 27.94cm; margin: 2.54cm }
P { margin-bottom: 0.21cm; direction: ltr; color: #000000; line-height: 0.41cm; text-align: justify; widows: 2; orphans: 2 }
P.western { font-family: "Arial", sans-serif; font-size: 10pt; so-language: en-GB }
P.cjk { font-family: "MS Mincho", "MS 明朝", monospace; font-size: 10pt; so-language: ja-JP }
P.ctl { font-family: "Calibri", sans-serif; font-size: 10pt; so-language: ar-SA }
H1 { margin-top: 0.48cm; margin-bottom: 0.42cm; direction: ltr; color: #000000; line-height: 0.48cm; text-align: left; widows: 2; orphans: 2 }
H1.western { font-family: "Arial", sans-serif; font-size: 12pt; so-language: en-GB }
H1.cjk { font-family: "MS Mincho", "MS 明朝", monospace; font-size: 12pt; so-language: ja-JP }
H1.ctl { font-family: "Calibri", sans-serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
H2 { margin-top: 0.11cm; margin-bottom: 0.42cm; direction: ltr; color: #000000; line-height: 0.44cm; text-align: left; widows: 2; orphans: 2 }
H2.western { font-family: "Arial", sans-serif; font-size: 11pt; so-language: en-GB }
H2.cjk { font-family: "MS Mincho", "MS 明朝", monospace; font-size: 11pt; so-language: ja-JP }
H2.ctl { font-family: "Calibri", sans-serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
H3 { margin-top: 0.11cm; margin-bottom: 0.42cm; direction: ltr; color: #000000; line-height: 0.41cm; text-align: left; widows: 2; orphans: 2 }
H3.western { font-family: "Arial", sans-serif; font-size: 10pt; so-language: en-GB }
H3.cjk { font-family: "MS Mincho", "MS 明朝", monospace; font-size: 10pt; so-language: ja-JP }
H3.ctl { font-family: "Calibri", sans-serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
H4 { margin-top: 0.11cm; margin-bottom: 0.42cm; direction: ltr; color: #000000; line-height: 0.41cm; text-align: left; widows: 2; orphans: 2 }
H4.western { font-family: "Arial", sans-serif; font-size: 10pt; so-language: en-GB }
H4.cjk { font-family: "MS Mincho", "MS 明朝", monospace; font-size: 10pt; so-language: ja-JP }
H4.ctl { font-family: "Calibri", sans-serif; font-size: 10pt; so-language: ar-SA; font-weight: normal }
-->
</STYLE>
</HEAD>
<BODY LANG="ja-JP" TEXT="#000000" DIR="LTR">
<DIV ID="Section1" DIR="LTR">
<H3 CLASS="cjk" STYLE="margin-top: 0.64cm; border-top: none; border-bottom: 1px solid #000000; border-left: none; border-right: none; padding-top: 0cm; padding-bottom: 0.04cm; padding-left: 0cm; padding-right: 0cm"><A NAME="_Ref440437891"></A>
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT SIZE=4>Erratum
for ECMAScript, 5</FONT><SUP><FONT SIZE=4>th</FONT></SUP><FONT SIZE=4>
Edition Specification (ECMA-262-5)</FONT></SPAN></FONT></H3>
<P CLASS="cjk" STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><B>(Last
Updated July 31, 2010)</B></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<P CLASS="cjk" STYLE="margin-bottom: 0cm"><FONT FACE="Arial, sans-serif"><FONT SIZE=5><SPAN LANG="en-GB"><I>Items
with Technical Significance</I></SPAN></FONT></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><A NAME="_Ref456028559"></A><A NAME="_Ref459647164"></A><A NAME="_Ref459624423"></A><A NAME="_Ref459624386"></A><A NAME="_Ref457437433"></A><A NAME="_Ref440449662"></A>
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><B>7.1 Unicode
Format-Control Characters</B></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Table
1)</SPAN></FONT></P>
<CENTER>
<TABLE WIDTH=690 BORDER=1 BORDERCOLOR="#000000" CELLPADDING=22 CELLSPACING=0 RULES=GROUPS>
<COL WIDTH=130>
<COL WIDTH=159>
<COL WIDTH=120>
<COL WIDTH=103>
<TBODY>
<TR VALIGN=TOP>
<TD WIDTH=130 BGCOLOR="#c0c0c0">
<P CLASS="cjk" ALIGN=LEFT STYLE="background: #c0c0c0; page-break-after: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#000000"><I><B><SPAN STYLE="background: #c0c0c0">Code
Unit Value</SPAN></B></I></FONT></SPAN></FONT></P>
</TD>
<TD WIDTH=159 BGCOLOR="#c0c0c0">
<P CLASS="cjk" STYLE="background: #c0c0c0; page-break-after: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><I><B><SPAN STYLE="background: #c0c0c0">Name</SPAN></B></I></SPAN></FONT></P>
</TD>
<TD WIDTH=120 BGCOLOR="#c0c0c0">
<P CLASS="cjk" STYLE="background: #c0c0c0; page-break-after: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><I><B><SPAN STYLE="background: #c0c0c0">Formal
Name</SPAN></B></I></SPAN></FONT></P>
</TD>
<TD WIDTH=103 BGCOLOR="#c0c0c0">
<P CLASS="cjk" STYLE="background: #c0c0c0; page-break-after: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><I><B><SPAN STYLE="background: #c0c0c0">Usage</SPAN></B></I></SPAN></FONT></P>
</TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN=TOP>
<TD WIDTH=130>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>\u200C</B></SPAN></FONT></P>
</TD>
<TD WIDTH=159>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">Zero
width non-joiner</SPAN></FONT></P>
</TD>
<TD WIDTH=120>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><ZWNJ></SPAN></FONT></P>
</TD>
<TD WIDTH=103>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>IdentifierPart</I></SPAN></FONT></P>
</TD>
</TR>
<TR VALIGN=TOP>
<TD WIDTH=130>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>\u200</B></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>D</B></FONT></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>C</B></FONT></STRIKE></FONT></SPAN></FONT></P>
</TD>
<TD WIDTH=159>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">Zero
width joiner</SPAN></FONT></P>
</TD>
<TD WIDTH=120>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><ZWJ></SPAN></FONT></P>
</TD>
<TD WIDTH=103>
<P CLASS="cjk" STYLE="page-break-after: avoid"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>IdentifierPart</I></SPAN></FONT></P>
</TD>
</TR>
<TR VALIGN=TOP>
<TD WIDTH=130>
<P CLASS="cjk"><FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>\uFEFF</B></SPAN></FONT></P>
</TD>
<TD WIDTH=159>
<P CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">Byte
Order Mark</SPAN></FONT></P>
</TD>
<TD WIDTH=120>
<P CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><BOM></SPAN></FONT></P>
</TD>
<TD WIDTH=103>
<P CLASS="cjk"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>Whitespace</I></SPAN></FONT></P>
</TD>
</TR>
</TBODY>
</TABLE>
</CENTER>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">10.2.1.1.3 SetMutableBinding
(N,V,S)</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
should only throw an exception when S is true)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">The
concrete Environment Record method SetMutableBinding for declarative
environment records attempts to change the bound value of the
current binding of the identifier whose name is the value of the
argument <FONT FACE="Times New Roman, serif"><I>N</I></FONT> to the
value of argument <FONT FACE="Times New Roman, serif"><I>V</I></FONT>.
A binding for <FONT FACE="Times New Roman, serif"><I>N</I></FONT>
must already exist. If the binding is an immutable binding, a
<B>TypeError</B> is <FONT COLOR="#ff0000"><STRIKE>always</STRIKE></FONT>
thrown <FONT COLOR="#ff0000">if </FONT><FONT COLOR="#ff0000"><I>S</I></FONT><FONT COLOR="#ff0000">
is </FONT><FONT COLOR="#ff0000"><B>true</B></FONT>. <FONT COLOR="#ff0000"><STRIKE>The
</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><I>S</I></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
argument is ignored because strict mode does not change the meaning
of setting bindings in declarative environment records.</STRIKE></FONT></SPAN></FONT></P>
<OL START=4>
<LI><P ALIGN=LEFT STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Else
this must be an attempt to change the value of an immutable binding
so <FONT COLOR="#ff0000">if </FONT><FONT COLOR="#ff0000"><I>S</I></FONT><FONT COLOR="#ff0000">
is </FONT><FONT COLOR="#ff0000"><B>true</B></FONT> throw a
<B>TypeError</B> exception.</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">10.2.1.2.2 CreateMutableBinding
( N, D )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Incorrect
algorithm parameter, property should be created with throw parameter
true to deal with case where global object is not extensible)</SPAN></FONT></P>
<OL START=5>
<LI><P ALIGN=LEFT STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Call
the [[DefineOwnProperty]] internal method of <I>bindings</I>,
passing <I>N</I>, Property Descriptor {[[Value]]:<B>undefined</B>,
[[Writable]]: <B>true</B>, [[Enumerable]]: <B>true</B> ,
[[Configurable]]: <I>configValue</I>}, and <FONT COLOR="#ff0000"><B>true</B></FONT>
<FONT COLOR="#ff0000"><STRIKE><B>false</B></STRIKE></FONT> as
arguments.</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">10.5 Declaration
Binding Instantiation</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Step
5 of original algorithm handled redefining existing global function
declarations in a manner that was incompatible with ES3 and which in
some cases would unintentionally invoke accessor functions)</SPAN></FONT></P>
<OL START=5>
<LI VALUE=1><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">For each
<I>FunctionDeclaration</I> <I>f</I> in <I>code</I>, in source text
order do</SPAN></FONT></P>
</OL>
<OL START=5>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>fn</I> be the <I>Identifier</I> in <I>FunctionDeclaration</I>
<I>f.</I></SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>fo</I> be the result of instantiating <I>FunctionDeclaration f
</I>as described in Clause 13.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>funcAlreadyDeclared </I>be the result of calling <I>env’s</I>
HasBinding concrete method passing <I>fn</I> as the argument.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<I>funcAlreadyDeclared </I>is <B>false</B>, call <I>env’s</I>
CreateMutableBinding concrete method passing <I>fn</I> and
<I>configurableBindings</I> as the arguments.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Else
if </FONT><FONT COLOR="#ff0000"><I>env</I></FONT><FONT COLOR="#ff0000">
is the environment record component of the global environment then</FONT></SPAN></FONT></P>
<OL TYPE=i>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Let
</FONT><FONT COLOR="#ff0000"><I>go</I></FONT><FONT COLOR="#ff0000">
be the global object.</FONT></SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Let
</FONT><FONT COLOR="#ff0000"><I>existingProp</I></FONT><FONT COLOR="#ff0000">
be the resulting of calling the [[GetProperty]] internal method
of </FONT><FONT COLOR="#ff0000"><I>go</I></FONT><FONT COLOR="#ff0000">
with argument </FONT><FONT COLOR="#ff0000"><I>fn</I></FONT><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">If
</FONT><FONT COLOR="#ff0000"><I>existingProp</I></FONT><FONT COLOR="#ff0000">
.[[Configurable]] is </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">,
then</FONT></SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Call
the [[DefineOwnProperty]] internal method of </FONT><FONT COLOR="#ff0000"><I>go</I></FONT><FONT COLOR="#ff0000">,
passing </FONT><FONT COLOR="#ff0000"><I>fn</I></FONT><FONT COLOR="#ff0000">,
Property Descriptor {[[Value]]:</FONT><FONT COLOR="#ff0000"><I>
</I></FONT><FONT COLOR="#ff0000"><B>undefined</B></FONT><FONT COLOR="#ff0000">,
[[Writable]]: </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">,
[[Enumerable]]: </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">
, [[Configurable]]: </FONT><FONT COLOR="#ff0000"><I>configurableBindings</I></FONT><FONT COLOR="#ff0000">
}, and </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">
as arguments.</FONT></SPAN></FONT></P>
</OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Else
if IsAccessorDescrptor(</FONT><FONT COLOR="#ff0000"><I>existingProp</I></FONT><FONT COLOR="#ff0000">)
or </FONT><FONT COLOR="#ff0000"><I>existingProp</I></FONT><FONT COLOR="#ff0000">
does not have attribute values {[[Writable]]: </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">,
[[Enumerable]]: </FONT><FONT COLOR="#ff0000"><B>true</B></FONT><FONT COLOR="#ff0000">},
then</FONT></SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Throw
a TypeError exception.</FONT></SPAN></FONT></P>
</OL>
</OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Call
<I>env’s</I> SetMutableBinding concrete method passing <I>fn</I>,
<I>fo</I>, and <I>strict</I> as the arguments.</SPAN></FONT></P>
</OL>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><A NAME="_Ref424667453"></A><A NAME="_Ref424530966"></A><A NAME="_Ref404493018"></A><A NAME="_Ref383837418"></A>
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">12.6.4 The <FONT FACE="Courier New, monospace">for</FONT>-<FONT FACE="Courier New, monospace">in</FONT>
Statement</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Implementers
have found the spec. to be unclear regarding whether shadowed
inherited properties are included in an enumeration)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">The
mechanics and order of enumerating the properties (step 6.a in the
first algorithm, step 7.a in the second) is not specified.
Properties of the object being enumerated may be deleted during
enumeration. If a property that has not yet been visited during
enumeration is deleted, then it will not be visited. If new
properties are added to the object being enumerated during
enumeration, the newly added properties are not guaranteed to be
visited in the active enumeration. <FONT COLOR="#ff0000">A property
name must not be visited more than once in any enumeration.</FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">Enumerating
the properties of an object includes enumerating properties of its
prototype, and the prototype of the prototype, and so on,
recursively; but a property of a prototype is not enumerated if it
is “shadowed” because some previous object in the prototype
chain has a property with the same name. <FONT COLOR="#ff0000">The
values of [[Enumerable]] attributes are not considered when
determining if a property of a prototype object is shadowed by a
previous object on the prototype chain.</FONT><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></SPAN></FONT></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.2.3.7 Object.defineProperties
( O, Properties )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(confusing
use of <I>P</I> in steps 5 and 6 of algorithm)</SPAN></FONT></P>
<OL START=5>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">For
each element <I>P</I> of <I>names</I> in list order,</SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>descObj</I> be the result of calling the [[Get]] internal
method of <I>props</I> with <I>P</I> as the argument.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>desc</I> be the result of calling ToPropertyDescriptor with
<I>descObj</I> as the argument.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Append
<FONT COLOR="#ff0000">the pair (a two element List) consisting of
</FONT><FONT COLOR="#ff0000"><I>P</I></FONT> <FONT COLOR="#ff0000">and</FONT>
<I>desc</I> to the end of <I>descriptors</I>.</SPAN></FONT></P>
</OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">For
each element <FONT COLOR="#ff0000"><I>pair</I></FONT><FONT COLOR="#ff0000">
from</FONT> <FONT COLOR="#ff0000"><STRIKE><I>desc</I></STRIKE></FONT>
<FONT COLOR="#ff0000"><STRIKE>of</STRIKE></FONT><FONT COLOR="#ff0000">
</FONT><I>descriptors</I> in list order,</SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Let
</FONT><FONT COLOR="#ff0000"><I>P</I></FONT><FONT COLOR="#ff0000">
be the first element of </FONT><FONT COLOR="#ff0000"><I>pair</I></FONT><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">Let
</FONT><FONT COLOR="#ff0000"><I>desc</I></FONT><FONT COLOR="#ff0000">
be the second element of </FONT><FONT COLOR="#ff0000"><I>pair</I></FONT><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
</OL>
</OL>
<P ALIGN=LEFT STYLE="margin-left: 1.27cm; margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">c.</FONT><FONT COLOR="#ff0000"><STRIKE>a.</STRIKE></FONT>
Call the [[DefineOwnProperty]] internal method of <I>O</I> with
arguments <I>P</I>, <I>desc</I>, and <B>true</B>.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.2.4.2 Object.prototype.toString
( )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Original
algorithm caused failure of widely used web frameworks.)</SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">1. If
the </FONT><FONT COLOR="#ff0000"><B>this</B></FONT><FONT COLOR="#ff0000">
value is </FONT><FONT COLOR="#ff0000"><B>undefined</B></FONT><FONT COLOR="#ff0000">,
return </FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>"[object
Undefined]"</B></FONT></FONT><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000">2. If
the </FONT><FONT COLOR="#ff0000"><B>this</B></FONT><FONT COLOR="#ff0000">
value is </FONT><FONT COLOR="#ff0000"><B>null</B></FONT><FONT COLOR="#ff0000">,
return </FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>"[object
Null]"</B></FONT></FONT><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>1</STRIKE></FONT><FONT COLOR="#ff0000">3</FONT>. Let
<I>O </I>be the result of calling ToObject passing the <B>this </B>value
as the argument.</SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>2</STRIKE></FONT><FONT COLOR="#ff0000">4</FONT>. Let
<I>class</I> be the value of the [[Class]] internal property of <I>O</I>.</SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 0.64cm; text-indent: -0.64cm; margin-bottom: 0.39cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>3</STRIKE></FONT><FONT COLOR="#ff0000">5</FONT>. Return
the String value that is the result of concatenating the three
Strings <FONT FACE="Courier New, monospace"><B>"[object "</B></FONT>,
<I>class</I>, and <FONT FACE="Courier New, monospace"><B>"]"</B></FONT>.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.3.4.3 Function.prototype.apply
(thisArg, argArray)</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Original
algorithm performs validation checks in steps 5 and 7 that are
inconsistent with other generic array usages in the specification.)</SPAN></FONT></P>
<OL START=4>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>len</I> be the result of calling the [[Get]] internal method of
<I>argArray</I> with argument <FONT FACE="Courier New, monospace"><B>"length"</B></FONT>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>If
</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>len</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
is </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><B>null</B></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
or </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><B>undefined</B></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>,
then throw a </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><B>TypeError</B></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
exception.</STRIKE></FONT></SPAN></FONT></P>
</OL>
<OL START=5>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>n</I> be ToUint32(<I>len</I>).</SPAN></FONT></P>
</OL>
<OL START=7>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>If
</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>n</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
is not equal to ToNumber(</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>len</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>),
then throw a </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><B>TypeError</B></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
exception.</STRIKE></FONT></SPAN></FONT></P>
</OL>
<OL START=6>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>argList</I> be an empty List.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>index</I> be 0.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Repeat
while <I>index</I> < <I>n</I></SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>indexName</I> be ToString(<I>index</I>).</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>nextArg</I> be the result of calling the [[Get]] internal
method of <I>argArray</I> with <I>indexName</I> as the argument.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Append
<I>nextArg</I> as the last element of <I>argList</I>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Set
<I>index</I> to <I>index</I> + 1.</SPAN></FONT></P>
</OL>
<LI><P ALIGN=LEFT STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Return
the result of calling the [[Call]] internal method of <I>func</I>,
providing <I>thisArg</I> as the <B>this</B> value and <I>argList</I>
as the list of arguments.</SPAN></FONT></P>
</OL>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.4.4.18 Array.prototype.forEach
( callbackfn [ , thisArg ] )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Return
value not specified in step 8)</SPAN></FONT></P>
<OL START=8>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0.39cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Return
<FONT COLOR="#ff0000"><B>undefined</B></FONT>.</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.4.4.21 Array.prototype.reduce
( callbackfn [ , initialValue ] )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Fourth
paragraph)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">The
range of elements processed by <FONT FACE="Courier New, monospace"><B>reduce</B></FONT>
is set before the first call to <FONT FACE="Times New Roman, serif"><I>callbackfn</I></FONT>.
Elements that are appended to the array after the call to <FONT FACE="Courier New, monospace"><B>reduce</B></FONT>
begins will not be visited by <FONT FACE="Times New Roman, serif"><I>callbackfn</I></FONT>.
If existing elements of the array are changed, their value as passed
to <FONT FACE="Times New Roman, serif"><I>callbackfn </I></FONT>will
be the value at the time <FONT FACE="Courier New, monospace"><B>reduce</B></FONT>
visits them; elements that are deleted after the call to <FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>reduce</B></FONT></FONT>
<FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>filter</B></FONT></STRIKE></FONT>
begins and before being visited are not visited.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.4.4.22 Array.prototype.reduceRight
( callbackfn [ , initialValue ] )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Fourth
paragraph)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">The
range of elements processed by <FONT FACE="Courier New, monospace"><B>reduceRight
</B></FONT>is set before the first call to <FONT FACE="Times New Roman, serif"><I>callbackfn</I></FONT>.
Elements that are appended to the array after the call to
<FONT FACE="Courier New, monospace"><B>reduceRight </B></FONT>begins
will not be visited by <FONT FACE="Times New Roman, serif"><I>callbackfn</I></FONT>.
If existing elements of the array are changed by <FONT FACE="Times New Roman, serif"><I>callbackfn</I></FONT>,
their value as passed to <FONT FACE="Times New Roman, serif"><I>callbackfn
</I></FONT>will be the value at the time <FONT FACE="Courier New, monospace"><B>reduceRight
</B></FONT>visits them; elements that are deleted after the call to
<FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>reduceRight</B></FONT></FONT><FONT FACE="Courier New, monospace"><B>
</B></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>filter</B></FONT></STRIKE></FONT>
begins and before being visited are not visited.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
step 9.c.ii)</SPAN></FONT></P>
<OL START=9>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Repeat,
while <I>k </I>≥ 0</SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>Pk</I> be ToString(<I>k</I>).</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>kPresent</I> be the result of calling the [[HasProperty]]
internal method of <I>O</I> with argument <I>Pk</I>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<I>kPresent</I> is <B>true</B>, then</SPAN></FONT></P>
<OL TYPE=i>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>kValue</I> be the result of calling the [[Get]] internal
method of <I>O</I> with argument <I>Pk</I>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>accumulator</I> be the result of calling the [[Call]] internal
method of <I>callbackfn</I> with <FONT COLOR="#ff0000"><STRIKE><B>null</B></STRIKE></FONT>
<FONT COLOR="#ff0000"><B>undefined</B></FONT> as the <B>this</B>
value and argument list containing <I>accumulator</I>, <I>kValue</I>,
<I>k</I>, and <I>O</I>.</SPAN></FONT></P>
</OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Decrease
<I>k</I> by 1.</SPAN></FONT></P>
</OL>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.4.5.1 [[DefineOwnProperty]]
( P, Desc, Throw )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
steps 3.l.ii and 3.l.iii: Boolean sense of variable name is
incorrect resulting in incorrectly inverted test)</SPAN></FONT></P>
<OL>
<OL>
<OL TYPE=i START=2>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<FONT COLOR="#ff0000"><STRIKE><I>cannotDelete</I></STRIKE></FONT>
<FONT COLOR="#ff0000"><I>deleteSucceeded</I></FONT> be the result
of calling the [[Delete]] internal method of <I>A</I> passing
ToString(<I>oldLen</I>) and <B>false</B> as arguments.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<FONT COLOR="#ff0000"><STRIKE><I>cannotDelete</I></STRIKE></FONT><FONT COLOR="#ff0000"><I>
deleteSucceeded</I></FONT> is <FONT COLOR="#ff0000"><STRIKE><B>true</B></STRIKE></FONT><B>
</B><FONT COLOR="#ff0000"><B>false</B></FONT>, then</SPAN></FONT></P>
</OL>
</OL>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.5.5.2 [[GetOwnProperty]]
( P )</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(First
paragraph, individual character properties should not have “array
index” restrictions)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">String
objects use a variation of the [[GetOwnProperty]] internal method
used for other native ECMAScript objects (8.12.1). This special
internal method is used to <FONT COLOR="#ff0000">add</FONT> <FONT COLOR="#ff0000">access
for</FONT> <FONT COLOR="#ff0000"><STRIKE>specify the array index</STRIKE></FONT>
named properties <FONT COLOR="#ff0000">corresponding to individual
characters</FONT> of String objects.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
corrections)</SPAN></FONT></P>
<OL START=3>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<FONT COLOR="#ff0000">ToString(abs(ToInteger(</FONT><I>P</I><FONT COLOR="#ff0000">)))</FONT>
is not <FONT COLOR="#ff0000">the same value as </FONT><FONT COLOR="#ff0000"><I>P</I></FONT><FONT COLOR="#ff0000">
</FONT><FONT COLOR="#ff0000"><STRIKE>an array index (15.4)</STRIKE></FONT>,
return <B>undefined</B>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>str</I> be the String value of the [[PrimitiveValue]] internal
property of <I>S</I>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>index</I> be <FONT COLOR="#ff0000"><STRIKE>ToUint32</STRIKE></FONT>
<FONT COLOR="#ff0000">ToInteger</FONT>(<I>P</I>).</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.9.1.15 Date
Time String Format </SPAN></FONT>
</H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Time
only variations of this string format should not have been included.
Ranges were not specified for some fields)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">Where
the fields are as follows:</SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>YYYY</B></FONT><FONT FACE="Arial, sans-serif"> is
the decimal digits of the year in the Gregorian calendar.</FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>-</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> </SPAN></FONT><FONT FACE="Arial, sans-serif">“</FONT><FONT FACE="Courier New, monospace"><B>:</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">”
(</SPAN></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">hyphon</SPAN></FONT></STRIKE></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">
</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">hyphen</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">)
</SPAN></FONT><FONT FACE="Arial, sans-serif">appears literally twice
in the string.</FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>MM</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the month of the year from 01 (January) to 12 (December).</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>DD</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the day of the month from 01 to 31.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>T </B></FONT><FONT FACE="Arial, sans-serif"> “</FONT><FONT FACE="Courier New, monospace"><B>T</B></FONT><FONT FACE="Arial, sans-serif">”
appears literally in the string, to indicate the beginning of the
time element</FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.59cm; text-indent: -1.11cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>HH </B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the number of complete hours that have passed since midnight as two
decimal digits</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">
from 00 to 24</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>:</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> </SPAN></FONT><FONT FACE="Arial, sans-serif">“</FONT><FONT FACE="Courier New, monospace"><B>:</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">”
(colon) </SPAN></FONT><FONT FACE="Arial, sans-serif">appears
literally twice in the string.</FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.59cm; text-indent: -1.11cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>mm </B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the number of </SPAN></FONT><FONT FACE="Arial, sans-serif">complete</FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">
minutes since the start of the hour as two decimal digits </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">from
00 to 59</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.59cm; text-indent: -1.11cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>ss</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the number of </SPAN></FONT><FONT FACE="Arial, sans-serif">complete</FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">
seconds since the start of the minute as two decimal digits </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">from
00 to 59</SPAN></FONT></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>.</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> </SPAN></FONT><FONT FACE="Arial, sans-serif">“</FONT><FONT FACE="Courier New, monospace"><B>.</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">”
(dot) </SPAN></FONT><FONT FACE="Arial, sans-serif">appears literally
in the string.</FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.59cm; text-indent: -1.11cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>sss</B></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US"> is
the number of complete milliseconds since the start of the second as
three decimal digits.</SPAN></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.11cm; text-indent: -0.64cm; margin-bottom: 0.07cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">Both
the </SPAN></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif">“</FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>.</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">”
and the milliseconds field may be omitted.</SPAN></FONT></STRIKE></FONT></SPAN></FONT></P>
<P STYLE="margin-left: 1.59cm; text-indent: -1.11cm; margin-bottom: 0.39cm; line-height: 100%">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><B>Z</B></FONT><FONT FACE="Arial, sans-serif"> is
the time zone offset specified as “</FONT><FONT FACE="Courier New, monospace"><B>Z</B></FONT><FONT FACE="Arial, sans-serif">”
(for UTC) or either “</FONT><FONT FACE="Courier New, monospace"><B>+</B></FONT><FONT FACE="Arial, sans-serif">”
or “</FONT><FONT FACE="Courier New, monospace"><B>-</B></FONT><FONT FACE="Arial, sans-serif">”
followed by a time expression </FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>hh</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>HH</B></FONT></FONT><FONT FACE="Courier New, monospace"><B>:mm</B></FONT></SPAN></FONT></P>
<P STYLE="margin-bottom: 0.42cm; line-height: 0.37cm"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><SPAN LANG="en-US">This
format includes date-only forms:</SPAN></FONT></FONT></P>
<P STYLE="margin-bottom: 0.42cm; line-height: 0.37cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2><SPAN LANG="en-GB"><B>YYYY<BR>YYYY-MM<BR>YYYY-MM-DD</B></SPAN></FONT></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><SPAN LANG="en-US">It
also includes “date-time” forms </SPAN></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">that
consist of one of the above date-only forms immediately followed by
one of the following time </SPAN></FONT><FONT COLOR="#ff0000"><STRIKE><SPAN LANG="en-US">which
It also includes time-only</SPAN></STRIKE></FONT><SPAN LANG="en-US">
forms with an optional time zone offset appended: </SPAN></SPAN></FONT>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>THH:mm<BR>THH:mm:ss<BR>THH:mm:ss.sss</B></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif"><SPAN LANG="en-US">Also
included are “date-times” which may be any combination of the
above.</SPAN></FONT></STRIKE></FONT></P>
<P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><SPAN LANG="en-US">All
numbers must be base </SPAN><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">10</SPAN></FONT><SPAN LANG="en-US">.
</SPAN><FONT COLOR="#ff0000"><SPAN LANG="en-US">If the </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>MM</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">
or </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>DD</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">
fields are absent “</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>01</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">”
is used as the value. </SPAN></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">If
the </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>mm</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">
or </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>ss</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">
fields are absent “</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>00</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">”
is used as the value and the value of an absent </SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>sss</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">
file is “</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"><B>000</B></SPAN></FONT></FONT><FONT COLOR="#ff0000"><SPAN LANG="en-US">”.
The value of an absent time zone offset is </SPAN></FONT><FONT COLOR="#ff0000">“</FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>Z</B></FONT></FONT><FONT COLOR="#ff0000">”.</FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.11.1.1
Error (message) </SPAN></FONT>
</H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Last
paragraph, Algorithm incorrect when message is <B>undefined</B>)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">If
the argument <FONT FACE="Times New Roman, serif"><I>message</I></FONT>
is not <B>undefined</B>, the <FONT FACE="Courier New, monospace"><B>message</B></FONT>
own property of the newly constructed object is set to
ToString(<FONT FACE="Times New Roman, serif"><I>message</I></FONT>).
<FONT COLOR="#ff0000"><STRIKE>Otherwise, the </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>message</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
own property is set to the empty String.</STRIKE></FONT></SPAN></FONT></P>
<H4 CLASS="cjk"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.11.2.1
new Error (message) </SPAN></FONT>
</H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Last
paragraph, Algorithm incorrect when message is <B>undefined</B>)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">If
the argument <FONT FACE="Times New Roman, serif"><I>message</I></FONT>
is not <B>undefined</B>, the <FONT FACE="Courier New, monospace"><B>message</B></FONT>
own property of the newly constructed object is set to
ToString(<FONT FACE="Times New Roman, serif"><I>message</I></FONT>).
<FONT COLOR="#ff0000"><STRIKE>Otherwise, the </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>message</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
own property is set to the empty String.</STRIKE></FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.11.4.4
Error.prototype.toString ( ) </SPAN></FONT>
</H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
incorrect when message is the empty string or undefined)</SPAN></FONT></P>
<OL START=6>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">If
</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
is undefined, then let </SPAN></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>R</I></SPAN></FONT></STRIKE></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>
</I></SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>
</I></SPAN></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">be
</SPAN></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></STRIKE></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
</SPAN></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">the
empty String</SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">;
else let </FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><I>msg</I></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">
be ToString(</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><I>msg</I></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">)</FONT></FONT><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">.
</SPAN></FONT></SPAN></FONT>
</P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE>Else,
let </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>R</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
be the result of concatenating </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>name</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>,
</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace">"</FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>:</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace">"</FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>,
a single space character, and ToString(</STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><I>msg</I></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>).</STRIKE></FONT></SPAN></FONT></P>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">Return
</SPAN></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>R</I></SPAN></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">.</SPAN></FONT></STRIKE></FONT></SPAN></FONT></P>
</OL>
<OL START=7>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">If
</SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>name</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
and </SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
are both the empty String, return </SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>Error</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">".</FONT></FONT></SPAN></FONT></P>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">If
</SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>name</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
is the empty String, return </SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">.</FONT></FONT></SPAN></FONT></P>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">If
</SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>msg</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">
is the empty String, return </SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US"><I>name</I></SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">.</FONT></FONT></SPAN></FONT></P>
<LI><P CLASS="cjk" ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">Return
</SPAN></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">the
result of concatenating </FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><I>name</I></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">,
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><B>:</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif">",
a single space character, and </FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><I>msg</I></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-US">.
</SPAN></FONT></FONT></SPAN></FONT>
</P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<P CLASS="cjk" STYLE="margin-bottom: 0cm"><BR>
</P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">15.11.7.4
new <I>NativeError</I> (message) </SPAN></FONT>
</H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Last
paragraph, Algorithm incorrect when message is <B>undefined</B>)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">If
the argument <FONT FACE="Times New Roman, serif"><I>message</I></FONT>
is not <B>undefined</B>, the <FONT FACE="Courier New, monospace"><B>message</B></FONT>
<FONT COLOR="#ff0000">own</FONT> property of the newly constructed
object is set to ToString(<FONT FACE="Times New Roman, serif"><I>message</I></FONT>).
<FONT COLOR="#ff0000"><STRIKE>Otherwise, the </STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Courier New, monospace"><B>message</B></FONT></STRIKE></FONT><FONT COLOR="#ff0000"><STRIKE>
own property is set to the empty String.</STRIKE></FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H1 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">A.1 Lexical
Grammar</SPAN></FONT></H1>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Insert
between <FONT FACE="Times New Roman, serif"><I>DecimalDigit</I></FONT>
and <FONT FACE="Times New Roman, serif"><I>ExponentIndicator</I></FONT>
production)</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>DecimalDigit
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT><I><FONT FACE="Arial, sans-serif"><B>
</B></FONT></I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>one
of</B></SPAN></FONT><I> <FONT FACE="Arial, sans-serif">See 7.8.3</FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>0 1 2 3
4 5 6 7 8 9</B></SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I><FONT COLOR="#ff0000">NonZeroDigit
</FONT></I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT><I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><B>
</B></FONT></FONT></I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>one
of</B></SPAN></FONT></FONT><I> <FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">See
7.8.3</FONT></FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>1
2 3 4 5 6 7 8 9</B></SPAN></FONT></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I><FONT COLOR="#ff0000">ExponentPart
</FONT></I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT><I>
<FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">See 7.8.3</FONT></FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; line-height: 100%; page-break-inside: avoid">
<FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>ExponentIndicator
SignedInteger</I></SPAN></FONT></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>ExponentIndicator
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT><I><FONT FACE="Arial, sans-serif"><B>
</B></FONT></I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>one
of</B></SPAN></FONT><I> <FONT FACE="Arial, sans-serif">See 7.8.3</FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Courier New, monospace"><SPAN LANG="en-GB"><B>e E</B></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(incorrect
right-hand-side)</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>RegularExpressionBackslashSequence
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT><I><FONT FACE="Arial, sans-serif"> See
7.8.5</FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><SPAN STYLE="font-style: normal"><B>\</B></SPAN></FONT><I>
<FONT COLOR="#ff0000">RegularExpression</FONT>NonTerminator</I></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(missing
right-hand-side term)</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>Literal
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT><I> <FONT FACE="Arial, sans-serif">See
7.8</FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>NullLiteral<BR>BooleanLiteral<BR>NumericLiteral<BR>StringLiteral<BR><FONT COLOR="#ff0000">RegularExpressionLiteral</FONT></I></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; line-height: 100%; page-break-inside: avoid">
<BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">A.8.1 JSON
Lexical Grammar</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(incorrect
right-hand-side)</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>JSONStringCharacter
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT><I><B>
</B> <FONT FACE="Arial, sans-serif">See 15.12.1.1</FONT></I></SPAN></FONT></P>
<P STYLE="margin-left: 1.02cm; margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I><FONT COLOR="#ff0000"><STRIKE>JSON</STRIKE></FONT>SourceCharacter
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>but
not</B></SPAN></FONT><I> double-quote </I><FONT FACE="Courier New, monospace"><SPAN STYLE="font-style: normal"><B>"</B></SPAN></FONT><I>
</I><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>or</B></SPAN></FONT><I>
backslash </I><FONT FACE="Courier New, monospace"><SPAN STYLE="font-style: normal"><B>\
</B></SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>or</B></SPAN></FONT><I><FONT FACE="Arial, sans-serif">
</FONT>U+0000 <FONT FACE="Arial, sans-serif"><B>thru</B></FONT>
U+001F</I></SPAN></FONT></P>
<P STYLE="margin-left: 1.02cm; margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Courier New, monospace"><SPAN STYLE="font-style: normal"><B>\</B></SPAN></FONT><I>
JSONEscapeSequence</I></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN LANG="en-GB"><B>ANNEX
C</B></SPAN></FONT></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(missing
item, add as first bullet item)</SPAN></FONT></P>
<UL>
<LI><P ALIGN=JUSTIFY STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">The
identifiers "</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>implements</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>interface</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>let</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>package</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>private</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>protected</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>public</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
"</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>static</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">",
and "</FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><B>yield</B></FONT></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">"
are classified as </FONT></FONT><FONT COLOR="#ff0000"><I>FutureReservedWord</I></FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">
tokens within strict mode code. (7.6.12).</FONT></FONT></SPAN></FONT></P>
</UL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(next
to last bullet item, confusing wording)</SPAN></FONT></P>
<UL>
<LI><P ALIGN=JUSTIFY STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT FACE="Arial, sans-serif">An
implementation may not extend</FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">,
beyond that defined in this specification,</FONT></FONT><FONT FACE="Arial, sans-serif">
the</FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif">
associate special</FONT></STRIKE></FONT><FONT FACE="Arial, sans-serif">
meanings within strict mode functions </FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">of</FONT></FONT><FONT FACE="Arial, sans-serif">
</FONT><FONT COLOR="#ff0000"><STRIKE><FONT FACE="Arial, sans-serif">to</FONT></STRIKE></FONT><FONT FACE="Arial, sans-serif">
properties named </FONT><FONT FACE="Courier New, monospace"><B>caller</B></FONT><FONT FACE="Arial, sans-serif">
or </FONT><FONT FACE="Courier New, monospace"><B>arguments</B></FONT><FONT FACE="Arial, sans-serif">
of function instances. ECMAScript code may not create or modify
properties with these names on function objects that correspond to
strict mode functions (</FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">10.6,</FONT></FONT><FONT FACE="Arial, sans-serif">
13.2</FONT><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif">,
15.3.4.5.3</FONT></FONT><FONT FACE="Arial, sans-serif">).</FONT></SPAN></FONT></P>
</UL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<P CLASS="cjk" STYLE="margin-bottom: 0cm; page-break-before: always">
<IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT SIZE=5><I>Editorial
Items with no Technical Significance</I></FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H1 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">6 Source
Text</SPAN></FONT></H1>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(First
paragraph)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">ECMAScript
source text is represented as a sequence of characters in the
Unicode character encoding, version 3.0 or later. The text is
expected to have been normalised to Unicode Normalised Form C
(canonical composition), as described in Unicode Technical Report
#15. Conforming ECMAScript implementations are not required to
perform any normalisation of text, or behave as though they were
performing normalisation of text, themselves. ECMAScript source
text is assumed to be a sequence of 16-bit code units for the
purposes of this specification. Such a source text may include
sequences of 16-bit code units that are not valid UTF-16 character
encodings. If an actual source text is encoded in a form other than
16-bit code units it must be processed as if it was first convert<FONT COLOR="#ff0000">ed</FONT>
to UTF-16.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><A NAME="_Ref451679320"></A><A NAME="_Ref440446657"></A>
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">7.6 Identifier
Names and Identifiers</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Missing
:: in several grammar productions)</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>UnicodeLetter
</I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">any character in
the Unicode categories “Uppercase letter (Lu)”, “Lowercase
letter (Ll)”, “Titlecase letter (Lt)”, “Modifier letter
(Lm)”, “Other letter (Lo)”, or “Letter number (Nl)”.</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>UnicodeCombiningMark
</I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">any character in
the Unicode categories “Non-spacing mark (Mn)” or “Combining
spacing mark (Mc)”</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>UnicodeDigit
</I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">any character in
the Unicode category “Decimal number (Nd)”</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>UnicodeConnectorPunctuation
</I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">any character in
the Unicode category “Connector punctuation (Pc)”</SPAN></FONT></P>
<P STYLE="margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I>UnicodeEscapeSequence
</I><FONT COLOR="#ff0000"><FONT FACE="Arial, sans-serif"><SPAN STYLE="font-style: normal"><B>::</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 1.02cm; margin-bottom: 0.39cm; font-style: normal; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">see 7.8.4.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><BR><BR>
</P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">7.8.4 String
Literals</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Incorrect
section reference)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">The
definition<FONT COLOR="#ff0000"><STRIKE>s</STRIKE></FONT> of the
nonterminal <FONT FACE="Times New Roman, serif"><I>HexDigit</I></FONT>
is given in <FONT COLOR="#ff0000"><STRIKE>7.6</STRIKE></FONT> <FONT COLOR="#ff0000">7.8.3</FONT>.</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">7.9.1 Rules
of Automatic Semicolon Insertion</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Wrong
font emphasis in <I>ThrowStatement</I> production)</SPAN></FONT></P>
<P STYLE="margin-left: 1.02cm; margin-bottom: 0cm; line-height: 100%; page-break-after: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><I><FONT SIZE=2 STYLE="font-size: 9pt">ThrowStatement</FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>
</B></FONT></I><FONT FACE="Arial, sans-serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="font-style: normal"><B>:</B></SPAN></FONT></FONT></SPAN></FONT></P>
<P ALIGN=LEFT STYLE="margin-left: 2.03cm; margin-bottom: 0.39cm; line-height: 100%; page-break-inside: avoid">
<FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB"><FONT COLOR="#ff0000"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="font-style: normal"><B>throw</B></SPAN></FONT></FONT><I><FONT FACE="Arial, sans-serif">
</FONT><FONT COLOR="#ff0000"><STRIKE><FONT SIZE=2 STYLE="font-size: 9pt"><B>throw</B></FONT></STRIKE></FONT><FONT FACE="Arial, sans-serif">
</FONT></I><FONT FACE="Arial, sans-serif"><FONT SIZE=1><SPAN STYLE="font-style: normal">[no
</SPAN></FONT></FONT><I><FONT SIZE=1>LineTerminator</FONT></I><FONT FACE="Arial, sans-serif"><FONT SIZE=1><SPAN STYLE="font-style: normal">
here] </SPAN></FONT></FONT><I><FONT SIZE=2 STYLE="font-size: 9pt">Expression
</FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>;</B></FONT></I></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(“A”
should be “An” in last sentence)</SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB"><FONT SIZE=2 STYLE="font-size: 9pt">A</FONT><FONT COLOR="#ff0000"><FONT SIZE=2 STYLE="font-size: 9pt">n</FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
</FONT><FONT FACE="Times New Roman, serif"><I>Identifier</I></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
in a </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><B>break</B></FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
or </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><B>continue</B></FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
statement should be on the same line as the </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><B>break</B></FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
or </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><B>continue</B></FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">
token.</FONT></SPAN></FONT></P>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">8.12.3 [[Get]]
(P)</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Algorithm
steps incorrectly numbered starting at 8 instead of 1)</SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>desc </I>be the result of calling the [[GetProperty]] internal
method of <I>O </I>with property name <I>P</I>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<I>desc </I>is <B>undefined</B>, return <B>undefined</B>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
IsDataDescriptor(<I>desc</I>) is <B>true</B>, return
<I>desc</I>.[[Value]].</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Otherwise,
IsAccessorDescriptor(<I>desc</I>) must be true so, let <I>getter</I>
be <I>desc</I>.[[Get]].</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
<I>getter </I>is <B>undefined</B>, return <B>undefined</B>.</SPAN></FONT></P>
<LI><P ALIGN=LEFT STYLE="line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Return
the result calling the [[Call]] internal method of <I>getter
</I>providing <I>O </I>as the <B>this</B> value and providing no
arguments.</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">9.8.1 ToString
Applied to the Number Type</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Incorrect
font emphasis for variables in algorithm step 10)</SPAN></FONT></P>
<OL START=10>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0.39cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Return
the String consisting of the most significant digit of the decimal
representation of <FONT COLOR="#ff0000"><I>s</I></FONT>, followed
by a decimal point ‘<FONT FACE="Courier New, monospace">.</FONT>’,
followed by the remaining <FONT COLOR="#ff0000"><I>k</I></FONT><FONT FACE="Symbol, serif"></FONT>1
digits of the decimal representation of <FONT COLOR="#ff0000"><I>s</I></FONT>,
followed by the lowercase character ‘<FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">e</FONT></FONT>’,
followed by a plus sign ‘<FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace">+</FONT></FONT>’
or minus sign ‘<FONT COLOR="#ff0000"><FONT FACE="Symbol, serif"></FONT></FONT>’
according to whether <FONT COLOR="#ff0000"><I>n</I></FONT><FONT FACE="Symbol, serif"></FONT>1
is positive or negative, followed by the decimal representation of
the integer abs(<FONT COLOR="#ff0000"><I>n</I></FONT><FONT FACE="Symbol, serif"></FONT>1)
(with no leading zeros).</SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">10.2.1.1.1 HasBinding
(N)</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Period
missing at end of step 3)</SPAN></FONT></P>
<OL START=3>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0.42cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
it does not have such a binding, return <B>false</B><FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">10.5 Declaration
Binding Instantiation</SPAN></FONT></H4>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Period
missing at end of step 6)</SPAN></FONT></P>
<OL START=5>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>argumentsAlreadyDeclared </I>be the result of calling <I>env’s</I>
HasBinding concrete method passing <FONT FACE="Courier New, monospace"><B>"arguments"</B></FONT><B>
</B>as the argument<FONT COLOR="#ff0000">.</FONT></SPAN></FONT></P>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H2 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">11.2.3 Function
Calls</SPAN></FONT></H2>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">(Incorrect
font emphasis for variable in algorithm step 6.b.1)</SPAN></FONT></P>
<OL START=6>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
Type(<I>ref</I>) is Reference, then</SPAN></FONT></P>
<OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">If
IsPropertyReference(<I>ref</I>) is <B>true</B>, then</SPAN></FONT></P>
<OL TYPE=i>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>thisValue</I> be GetBase(<I>ref</I>).</SPAN></FONT></P>
</OL>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Else,
the base of <I>ref</I> is an Environment Record</SPAN></FONT></P>
<OL TYPE=i>
<LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; line-height: 100%"><FONT FACE="Times New Roman, serif"><SPAN LANG="en-GB">Let
<I>thisValue</I> be the result of calling the ImplicitThisValue
concrete method of GetBase(<FONT COLOR="#ff0000"><I>ref</I></FONT>).</SPAN></FONT></P>
</OL>
</OL>
</OL>
<P CLASS="cjk" STYLE="margin-bottom: 0.42cm"><IMG SRC="es5_errata_html_120d4b3d.gif" ALIGN=BOTTOM WIDTH=728 HEIGHT=2></P>
<H4 CLASS="cjk"><FONT FACE="Arial, sans-serif"><SPAN LANG="en-GB">12.5 The
<FONT FACE="Courier New, monospace">if</FONT> Statement</SPAN></FONT></H4>