This file contains 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
export type OptGroupNestedArrayTypes = Array<Array<string, Array<Array<string, string>>>>; | |
export type OptionGroupTypes = Array<{ | |
groupLabel: string, | |
options: Array<{ | |
label: string, | |
value: string, |
This file contains 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
// Continuous iterator | |
function foo() { | |
// NOTE: don't ever do crazy long-running loops like this | |
for (let i = 0; i <= 1E10; i++) { | |
console.log(i); | |
} | |
} | |
// foo(); |