Tag Archives: tip
First element of an array – Javascript

JavaScript – First key from associative array

Working with arrays is very beneficial for every developer in every language. But in different languages some operations are done differently. Very good example is retrieving first key from an associative array in JavaScript. In PHP you could use “foreach“, “list“, “array_pop“, “array_slice“, etc. But in JavaScript we don’t have all that functions so we [...]

Read full storyComments { 0 }