amt: \"10.00\" email: \"sam@gmail.com\" merchant_id: \"sam\" mobileNo: \"9874563210\" orderID: \"123456\" passkey: \"1234\"
The above is the JSON o
This code causes esLint issue: no-prototype-builtins
no-prototype-builtins
foo.hasOwnProperty("bar")
The suggest way here is:
Object.prototype.hasOwnProperty.call(foo, "bar");