Skip to content
Snippets Groups Projects
Commit 0b053ef3 authored by deuce's avatar deuce
Browse files

Fix countBlahBlahLetsWriteABookInCamelCaseAsAFunctionName()

parent 5eff046f
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,7 @@ function shuffle(array) ...@@ -154,7 +154,7 @@ function shuffle(array)
for(var j, x, i = array.length; i; j = parseInt(Math.random() * i), x = array[--i], array[i] = array[j], array[j] = x); for(var j, x, i = array.length; i; j = parseInt(Math.random() * i), x = array[--i], array[i] = array[j], array[j] = x);
return array; return array;
} }
function countObjectMethodsAndPropertiesBecauseThereIsNoSuchThingAsASparseArrayInJavascriptAndWeDontWantToConfuseAnyone(array) function countMembers(array)
{ {
var count=0; var count=0;
for(var i in array) count++; for(var i in array) count++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment