Skip to content

Instantly share code, notes, and snippets.

@tajuszk
Last active June 21, 2020 00:46
Show Gist options
  • Save tajuszk/3d9bf437aee924e051d2279482410382 to your computer and use it in GitHub Desktop.
Save tajuszk/3d9bf437aee924e051d2279482410382 to your computer and use it in GitHub Desktop.
// 遠足での子供の確認
function childrenCheck () {
// 全員のお金チェック
for (let i = 0; i < 300; i++) {
if (useMoney > 300) {
alert('使いすぎ!!!')
}
}
// 人員確認
if (currentMemberCount !== 300) {
alert('誰かがいないか、なんか増えてる!!!')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment