Created
December 16, 2019 15:06
-
-
Save sudosanet/dc15734ce3b5451787206bf32fe98fbd to your computer and use it in GitHub Desktop.
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
function 大本営ソート(配列){ | |
let 仮 = 0; | |
for(let 大和魂 = 0;大和魂 < 配列.length;大和魂++){ | |
if(仮>配列[大和魂]){ | |
const 粉飾 = Math.floor( Math.random() * 3) + 仮; | |
配列[大和魂] = 粉飾 + 配列[大和魂]; | |
} | |
仮 = 配列[大和魂]; | |
} | |
return 配列; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment