Current index is "i"
( until: string, body: (self: this) => this, initialValue: CoercibleValue = 0 )
| 158 | |
| 159 | /** Current index is "i" */ |
| 160 | for( |
| 161 | until: string, |
| 162 | body: (self: this) => this, |
| 163 | initialValue: CoercibleValue = 0 |
| 164 | ): this { |
| 165 | return this.loop(`for (let i = ${initialValue}; ${until}; i++)`, body) |
| 166 | } |
| 167 | |
| 168 | /** Current key is "k" */ |
| 169 | forIn(object: string, body: (self: this) => this): this { |
no test coverage detected