TypeScript

TypeScriptでフィボナッチ数列

alertでconsoleの内容が見たい

https://www.typescriptlang.org/play/#code/PQKgBAhgNgpgTgF0OYMBjA9gOwM5toOwZBQxUE7tQGQZBoyMH0GQEQYwRgAodbBMAWwgEsMwBeMACgCUvAHxgA3vTBhYLAEYBXAGYAuMFgRwuAc15gARPoDc9KWCYawABz38IcbWogYAnsJ5jJ06RyUD9aHIAVjAoCPq8PHwILlYwaH722sJe3tJJegBSAMoA8gByAHQaWhjavi52DoImaQC+ZtKKfgDUfBltBgA6GMaN5pg4sIVQaNpVybVgdSZmFiwAJhxYNnxCohL90PAI-M01ZjOm0vPqCnK27p79pxB64mCAQgxq+hD6ADRgVC8cEUf9Vn4AHJ9AALGBQUYRNRAsAtAzgyFofQHNKA-QARgATABmMAvOFgbE41HedExOIJSD4gyEinxRKk6Tou4E+EQJnWOyk-7SLDnIRTJYrQX0I7sLiioA