Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var createAttribute = function (name, value) {
var attribute = new XrmMock.AttributeMock({
name: name,
value: value,
isDirty: false,
submitMode: "dirty"
});
return attribute;
};