Results 1 to 15 of 221

Thread: Here are 2 prototype-functions I created.

Threaded View

  1. #1
    Join Date
    Jan 2005
    San Diego, CA

    Prototype Function Collection

    There are alot of useful prototype functions through-out this thread. It's well-worth the time to browse through them.
    Feel free to add your own prototype functions to this thread.
    However, make sure that you've tested your functions before you post them.
    Also, do not post anything but prototype functions in this thread.
    Post your non-prototype-functions here: Function Library

    This code defines the functions replaceAt and multipulCopies
    HTML Code:
    <SCRIPT TYPE="text/javascript">
    String.prototype.replaceAt=function(){return this.substring(0,arguments[0])+arguments[1]+this.substring(arguments[0]+1,this.length)}
    String.prototype.multipulCopies=function(){var temp="";for(var i=0;i<arguments[0];i++){temp+=this}return temp}

    Prototype-functions through-out this thread sorted chronologically: (1-50)

    (continued in next post from #51)
    Last edited by Ultimater; 06-04-2006 at 10:14 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center