DefinitelyTyped/fromjs/fromjs-tests.ts
2017-01-04 12:07:53 -08: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);
});