Guest User

Untitled

a guest
Aug 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. console.time('decrypt');
  2. var decoded = new Array(); //this is where our result will go
  3. for(i=0;i<cKey.height;i++){
  4. console.time('loop1');
  5. decoded[i] = new Array();
  6. for(j=0;j<cKey.width;j++){
  7. //console.time('----loop2');
  8. decoded[i][j] = 0;
  9. for(x=0;x<cKey.width;x++){
  10. for(y=0;y<cKey.height;y++){
  11. decoded[i][j] += 1;
  12. }
  13. }
  14. //console.timeEnd('----loop2');
  15. }
  16. console.count('loop1');
  17. console.timeEnd('loop1');
  18. }
  19. console.timeEnd('decrypt');
Add Comment
Please, Sign In to add comment