{"ScriptPreparationCode":"var test = /\\s*(?\u003Ckey\u003E[^=\\s=;][^=;]*?)(?:\\s*=\\s*(?\u003Cvalue\u003E[^;]\u002B?))?(?:;|$)/g\r\nvar sample = \u0027 test1=1; test2; test 3; test 4= 4; test5 =5; test 6 = 6; test 7 = 777=77=\u0027","TestCases":[{"Name":"for of Map set","Code":"const map = new Map\r\n\r\nfor ( const { key, value } of sample.matchAll( test ) )\r\n{ map.set( key, value ) }","IsDeferred":false},{"Name":"for of new Map( results[] )","Code":"const results = []\r\n\r\nfor ( const { key, value } of sample.matchAll( test ) )\r\n{ results.push( [ key, value ] ) }\r\n\r\nconst map = new Map( results )","IsDeferred":false},{"Name":"new Map( {}[].map )","Code":"const map = new Map (\r\n [...sample.matchAll( test )]\r\n .map( ( { key, value } ) =\u003E [ key, value ] )\r\n)","IsDeferred":false}]}