Copy link to clipboard
Copied
var name = ["ysa","cde","adad"];
Array.prototype.myname=function(){
for (i=0;i<this.length;i++){
this[i]=this[i].toUpperCase();
//alert(typeof this[i])
}
}
alert(name.myname())
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now