All Questions
Tagged with javascript actionscript
1 question
1
vote
2
answers
238
views
How come language designers don't upgrade their global functions?
For example, when working with arrays there are methods like indexOf() that works like this:
if (array.indexOf("something")!=-1) { // do something or nothing }
Why hasn't someone made a contains ...