Closed
Description
TypeScript Version: nightly 2.1.0-dev.20161103
Code
let t = new Date(null) // Argument of type 'null' is not assignable to parameter of type 'string'
According to the spec, the result is going to be the same as new Date(+0)
.
http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.3.2