{"ScriptPreparationCode":null,"TestCases":[{"Name":"setAttribute","Code":"var input = document.createElement(\u0022input\u0022);\r\ninput.setAttribute(\u0022class\u0022, \u0022my-class\u0022);\r\ninput.setAttribute(\u0022type\u0022, \u0022checkbox\u0022);","IsDeferred":false},{"Name":"Object.assign","Code":"const input = document.createElement(\u0022input\u0022);\r\nObject.assign(input, {class: \u0027my-class\u0027, type: \u0027checkbox\u0027});","IsDeferred":false},{"Name":"setAttributes","Code":"function setAttributes(el, attrs) {Object.keys(attrs).forEach(key =\u003E el.setAttribute(key, attrs[key]))}\r\nconst input = document.createElement(\u0022input\u0022);\r\nsetAttributes(input, {class: \u0027my-class\u0027, type: \u0027checkbox\u0027});","IsDeferred":false}]}