fixed examples

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

View File

@ -33,7 +33,7 @@ Browser Example
// The shuffle modifies the original array // The shuffle modifies the original array
// 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(); console.log(b);
}); });
``` ```
@ -56,7 +56,7 @@ npm install -S knuth-shuffle
// The shuffle modifies the original array // The shuffle modifies the original array
// 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(); console.log(b);
}); });
``` ```