Activity Forums Salesforce® Discussions What does Object.create do in Salesforce?

  • Anjali

    Member
    October 3, 2018 at 1:50 pm

    Hi Chanchal,

    Object.create method is another method to create new object in JavaScript.

    Object.create methods accepts two arguments.

    prototypeObject: Newly created objects prototype object. It has to be an object or null.
    propertiesObject: Properties of the new object. This argument is optional

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos