{"ScriptPreparationCode":"let div = document.getElementById(\u0027div\u0027);","TestCases":[{"Name":"Object.keys() \u002B .dataset","Code":"Object.keys(div.dataset).filter(v =\u003E v.startsWith(\u0027test\u0027)).map(v =\u003E v.substring(4).toLowerCase());","IsDeferred":false},{"Name":"Array.from() \u002B .attributes","Code":"Array.from(div.attributes).map(a =\u003E a.nodeName).filter(v =\u003E v.startsWith(\u0027data-test-\u0027)).map(v =\u003E v.substring(10));","IsDeferred":false},{"Name":"for \u002B .attributes","Code":"let l = []; for(var i=0; i \u003C div.attributes.length; i\u002B\u002B) { let n = div.attributes[i].nodeName; if(n.startsWith(\u0027data-test-\u0027)) l.push(n.substring(10)); }","IsDeferred":false}]}