11 lines
427 B
JavaScript
11 lines
427 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
let y = 0;
|
|
for (let i = 0; i < 100; i++) {
|
|
console.log(y);
|
|
y = y + i;
|
|
}
|