The Date.prototype[@@toPrimitive] only allows the "string", "default" and "number" hint values. Any other value should throw a TypeError. JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
The Date.prototype[@@toPrimitive] only allows the "string", "default" and "number" hint values. Any other value should throw a TypeError. JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]