File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ If the build is not successful fix your code in order the tests and jshint valid
83
83
:---: |:---: |:---: |:---: |:---: |:---: |
84
84
[ pkerpedjiev] ( https://github.com/pkerpedjiev ) |[ Xuefeng-Zhu] ( https://github.com/Xuefeng-Zhu ) |[ mik-laj] ( https://github.com/mik-laj ) |[ amilajack] ( https://github.com/amilajack ) |[ ysharplanguage] ( https://github.com/ysharplanguage ) |[ contra] ( https://github.com/contra ) |
85
85
86
- [ <img alt =" liesislukas " src =" https://avatars0.githubusercontent.com/u/2733862?v=3&s=117 " width =" 117 " >] ( https://github.com/liesislukas ) |[ <img alt =" millerrach " src =" https://avatars1.githubusercontent.com/u/12432794?v=3&s=117 " width =" 117 " >] ( https://github.com/millerrach ) |[ <img alt =" fanixk " src =" https://avatars1.githubusercontent.com/u/921156?v=3&s=117 " width =" 117 " >] ( https://github.com/fanixk ) |[ <img alt =" shaunak1111 " src =" https://avatars0.githubusercontent.com/u/1323960?v=3&s=117 " width =" 117 " >] ( https://github.com/shaunak1111 ) |
87
- :---: |:---: |:---: |:---: |
88
- [ liesislukas] ( https://github.com/liesislukas ) |[ millerrach] ( https://github.com/millerrach ) |[ fanixk] ( https://github.com/fanixk ) |[ shaunak1111] ( https://github.com/shaunak1111 ) |
86
+ [ <img alt =" liesislukas " src =" https://avatars0.githubusercontent.com/u/2733862?v=3&s=117 " width =" 117 " >] ( https://github.com/liesislukas ) |[ <img alt =" millerrach " src =" https://avatars1.githubusercontent.com/u/12432794?v=3&s=117 " width =" 117 " >] ( https://github.com/millerrach ) |[ <img alt =" fanixk " src =" https://avatars1.githubusercontent.com/u/921156?v=3&s=117 " width =" 117 " >] ( https://github.com/fanixk ) |[ <img alt =" shaunak1111 " src =" https://avatars0.githubusercontent.com/u/1323960?v=3&s=117 " width =" 117 " >] ( https://github.com/shaunak1111 ) | [ < img alt = " kdamball " src = " https://avatars0.githubusercontent.com/u/3318312?v=3&s=117 " width = " 117 " > ] ( https://github.com/kdamball ) |
87
+ :---: |:---: |:---: |:---: |:---: |
88
+ [ liesislukas] ( https://github.com/liesislukas ) |[ millerrach] ( https://github.com/millerrach ) |[ fanixk] ( https://github.com/fanixk ) |[ shaunak1111] ( https://github.com/shaunak1111 ) |[ kdamball ] ( https://github.com/kdamball ) |
89
89
90
90
## License
91
91
Original file line number Diff line number Diff line change 20
20
function shuffle ( array ) {
21
21
var size = array . length ;
22
22
var rand ;
23
- var temp ;
24
23
for ( var i = 0 ; i < size ; i += 1 ) {
25
24
rand = Math . floor ( i + Math . random ( ) * ( size - i ) ) ;
26
- temp = array [ rand ] ;
27
- array [ rand ] = array [ i ] ;
28
- array [ i ] = temp ;
25
+ [ array [ rand ] , array [ i ] ] = [ array [ i ] , array [ rand ] ] ;
29
26
}
30
27
return array ;
31
28
}
You can’t perform that action at this time.
0 commit comments