Is there anyway I can add new property to JavaScript
seal
object
var obj = {"FirstName":"Tom","LastName":"Gorsuch"};
Object.seal(obj);
obj.MiddleName = "Crouis"; // new property is not added
console.log(obj);
Actual Problem
I am working in a frame work, frame has its own implementation of browser API method, but there are some methods that are not implemented yet , unfortunately I need those methods and I am getting error
function not defined
so thought of writing polyfill, Then I came to know they have also seal
the object