If strong type is needed, why not use TypeScript?
> From: [email protected] > Date: Mon, 18 May 2015 01:50:34 +0800 > Subject: Consider javascript already support for default parameters, so maybe > we can use the default parameter to specify the strong type. > To: [email protected] > > For example: > > function addWithType(a = int64(0), b = int64(0)) { > return a + b; > } > > This function is input add two int64 and return a int64 > > -- > 此致 > 礼 > 罗勇刚 > Yours > sincerely, > Yonggang Luo > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

