Posts by Aquila • 146 points
2 posts
-
11
votes3
answers1814
viewsA: Sort a multidimensional array with numerical values
Use the function asort(): This function sorts an array so that the correlation between indices and values is maintained. It is mainly used to sort associative arrays where the order of the elements…
-
2
votes4
answers13140
viewsA: What is the difference between operators '==' and '==' in Javascript?
The difference is that the type of the value is checked. Ex: var foo = "10"; console.log(foo == "10"); //true console.log(foo === 10); //false