d3: add additional type parameter to array functions
Merge pull request #1275 from nestalk/master

d3: add additional type parameter to array functions