DefinitelyTyped/fromjs/fromjs-tests.ts
2016-01-26 21:12:45 +01:00

5 lines
166 B
TypeScript

/// <reference path="fromjs.d.ts" />
var array = [1, 2, 3, 4];
from(array).each(function (value, key) {
console.log('Value ' + value + ' at index ' + key);
});