Jump to content

Search the Community

Showing results for tags 'prototype'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


There are no results to display.


  • Welcome to Smart Mobile Studio
    • News and Information
    • Pre-Sales Questions
    • Smart In the Media
    • Smart Contests
    • Meta
  • Smart Mobile Studio Discussion
    • General
    • IDE
    • RTL
    • Code
    • Client Server
    • Platform
    • Graphics
    • Deployment
    • Suggestion box
  • Smart Mobile Studio support
    • Support
    • Bug report
  • General Discussion
    • Pascal
    • Delphi
    • Javascript
    • HTML/HTML5
    • CSS
  • Resources
    • Website
    • Download Smart Mobile Studio

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL



Company name


Found 1 result

  1. I recently discovered the possibility to "redefine" some language elements by using the js prototype mechanism. As an example see code below which implements an "array" object based directly on a modified js array and gives it customised methods as well. In this case array.push is arbitrarily renamed to array.add, array.splice to array.remove and lookUpIndex and lookUpValue are implemented as search methods. Code is based on and inspired by http://blog.benoitvallon.com/category/data-structures-in-javascript/ While an array example is maybe somewhat trivial, the same method can be
  • Create New...