fixed examples

This commit is contained in:
AJ ONeal 2013-12-03 01:44:22 -06:00
parent 46b1c06039
commit e9d34058bd
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ Browser Example
// calling a.slice(0) creates a copy, which is assigned to b // calling a.slice(0) creates a copy, which is assigned to b
b = window.knuthShuffle(a.slice(0)); b = window.knuthShuffle(a.slice(0));
console.log(b); console.log(b);
}); }());
``` ```
Node Example Node Example
@ -57,7 +57,7 @@ npm install -S knuth-shuffle
// calling a.slice(0) creates a copy, which is assigned to b // calling a.slice(0) creates a copy, which is assigned to b
b = shuffle(a.slice(0)); b = shuffle(a.slice(0));
console.log(b); console.log(b);
}); }());
``` ```
See Also See Also