Re:I’m a web developer and can't make anymore the simplest w...
by pistacchioso on Thursday February 11, 2016 @01:49PM
(#11082091)
I find C# to be better, but things are ok everywhere as long as they're kept easy. I think that function (param?: Array) is simply better than function (param) because the IDE can hint you that the function accepts a single parameter, that it is optional and warns you if you try to pass a string because it must be an Array.
[ Parent
| on HN ]
There are no comments on this comment yet.