"use strict"; var arr = Array.from(nums).map(function (i) { return i * i; });