Is there any difference between properties and Built-in Methods, if there any then what it is?


yes, look at this code:

var person = {
  name: "John Doe",
  sayHello: function() {

name is a property, while sayHello is a method. sayHello is not a built-in method, its a method you build. A built-in method is simple a method which ships with JS


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.