Make Date.UTC to conform to the latest ES11 spec (#4250)

Date.UTC should work with only one argument too.

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu
This commit is contained in:
Csaba Osztrogonác
2020-10-01 16:34:09 +02:00
committed by GitHub
parent aa89d38df3
commit e227634b45
4 changed files with 23 additions and 5 deletions
-1
View File
@@ -694,7 +694,6 @@
<test id="built-ins/DataView/toindex-bytelength-sab.js"><reason></reason></test>
<test id="built-ins/DataView/toindex-byteoffset-sab.js"><reason></reason></test>
<test id="built-ins/DataView/toindex-byteoffset.js"><reason></reason></test>
<test id="built-ins/Date/UTC/return-value.js"><reason></reason></test>
<test id="built-ins/Date/parse/time-value-maximum-range.js"><reason></reason></test>
<test id="built-ins/Date/parse/without-utc-offset.js"><reason></reason></test>
<test id="built-ins/Date/proto-from-ctor-realm-one.js"><reason></reason></test>