kamaboko Posted May 23, 2014 Share Posted May 23, 2014 Hello, Is there a rule I should think of when deciding to use a property vs a method? Thanks, K Link to comment Share on other sites More sharing options...
HartleySan Posted May 23, 2014 Share Posted May 23, 2014 Hello kamaboko, and welcome to the forums. A property is a number, string, Boolean, array or object attached to a higher-level object; a method is a function attached to a higher-level object. Really, it's just a semantic difference made to differentiate functions attached to objects from other properties attached to objects. That make sense? By the way, you a big fan of kamaboko? I quite like it myself. 1 Link to comment Share on other sites More sharing options...
Recommended Posts