Ad
  • Default User Avatar

    the alphabet is abcdefghijklmnopqrstuvwxyz

    you might have mistaken the order.

  • Default User Avatar

    prototype allows you to attach a property or a function that can be accessible to all instantiations of the particular class, for example you can add your own properties so that when you do Object.prototype.newFunction = function(){some code here}. Now.. any new objects that you instantiate would be able to access your new function so that var x = new Object then x.newFunction(), would now work.

  • Default User Avatar

    This is not right. You are not testing for the correct moneth? It could be 24th Feb and you function would return true;

  • Default User Avatar

    I have no idea how this prototype works....could any one send me something explaining it? thanks!