From e9d34058bd1dbbd8b638c955308cd40aa7ecb7dd Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 3 Dec 2013 01:44:22 -0600 Subject: [PATCH] fixed examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5240313..914bbbd 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Browser Example // calling a.slice(0) creates a copy, which is assigned to b b = window.knuthShuffle(a.slice(0)); console.log(b); -}); +}()); ``` Node Example @@ -57,7 +57,7 @@ npm install -S knuth-shuffle // calling a.slice(0) creates a copy, which is assigned to b b = shuffle(a.slice(0)); console.log(b); -}); +}()); ``` See Also