https://gist.github.com/lykkin/65dd6329d454f3161181
Skip to content '"` </textarea></xmp> All gists Back to GitHub Sign in Sign up Sign in Sign up {{ message }} Instantly share code, notes, and snippets. lykkin / gist:65dd6329d454f3161181 Created Mar 5, 2016 Star 0 Fork 0 Star Code Revisions 1 Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. Learn more about clone URLs Download ZIP arithmetic using loops/inc/dec Raw gistfile1.txt function div(n,m){for(var l=m;l>0;l--){for(var k=0;k<m-1;k++){n--}}return n} function rem(n,m){for(var l=0;n>=m;l++){for(var k=0;k<m;k++){n--}}return n} ...