This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A silly class wrapping a number to demonstrate any type of object can be used | |
* when using IterableIterators and how to use the 'n' value when iterating over | |
* them. | |
*/ | |
class SpecialNumber { | |
private root: number; | |
constructor(root: number) { | |
this.root = root; |