function 明日から本気出す(dayCount = 1, maxDayCount = 810) {
if (dayCount >= maxDayCount) {
console.log(`${dayCount}日目:来世から本気出す`);
return;
}
console.log(`${dayCount}日目:明日から本気出す`);
明日から本気出す(dayCount + 1, maxDayCount);
}
明日から本気出す();
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00