Open eladb opened 11 years ago
Initially I thought extending JS natives might be a feature by itself, I tend to agree it's a bit too intrusive with marginal improvement. should be numbers.
How about date? What do you think? typeof new Date() === "object"
Do you think it should be "object" or non native "date" ?
On Nov 19, 2012 9:48 PM, "Avner Cohen" notifications@github.com wrote:
How about date? What do you think? typeof new Date() === "object"
Do you think it should be "object" or non native "date" ?
Maybe you should use Constructor names instead of typeof names. Then you
have String
, Number
, Date
, Boolean?
— Reply to this email directly or view it on GitHub.
I think that inferify should use standard js types. For example,
float
is not a js type. In fact,float
andinteger
are bothnumber
.