forked from: Setting a computed number to an element of Array

