I was helping a friend fix some issues with her iPhone connecting to a JavaScript-heavy (and buggy) site. Long story short, her iPhone cannot type brackets ([]), and I need another way of getting the first element in an array. I thought there might be a javascript function like first() that I can access the first element. Nope.
I need something that works like this, without brackets:
myArray[0];
Any thoughts?