const node = new Node('test'); for (let i = 0; i < 10; i++) { console.log(i); }
var node: Node = new Node('test'); for (let i = 0; i < 10; i++) { console.log(i as number); }