DefinitelyTyped/types/fromjs/fromjs-tests.ts
2017-03-24 14:27:52 -07:00

5 lines
127 B
TypeScript

var array = [1, 2, 3, 4];
from(array).each(function (value, key) {
console.log('Value ' + value + ' at index ' + key);
});