{"ScriptPreparationCode":"var oldArr = [\r\n {\r\n \u0022id\u0022: 52\r\n },\r\n {\r\n \u0022id\u0022: 76\r\n },\r\n {\r\n \u0022id\u0022: 13\r\n },\r\n {\r\n \u0022id\u0022: 96\r\n },\r\n {\r\n \u0022id\u0022: 27\r\n },\r\n {\r\n \u0022id\u0022: 8\r\n },\r\n {\r\n \u0022id\u0022: 23\r\n },\r\n {\r\n \u0022id\u0022: 63\r\n },\r\n {\r\n \u0022id\u0022: 25\r\n }\r\n]\r\n\r\nvar newArr = [\r\n{\r\n \u0022id\u0022: 52\r\n },\r\n {\r\n \u0022id\u0022: 76\r\n },\r\n {\r\n \u0022id\u0022: 13\r\n },\r\n {\r\n \u0022id\u0022: 96\r\n },\r\n {\r\n \u0022id\u0022: 27\r\n },\r\n {\r\n \u0022id\u0022: 8\r\n },\r\n {\r\n \u0022id\u0022: 23\r\n },\r\n {\r\n \u0022id\u0022: 63\r\n },\r\n {\r\n \u0022id\u0022: 25\r\n },\r\n {\r\n \u0022id\u0022: 1\r\n },\r\n]","TestCases":[{"Name":"Native 1","Code":"newArr.reduce((ids, {id}) =\u003E {\r\n return ids.concat(\r\n !oldArr.some(oldItem =\u003E oldItem.id === id) ? id : []\r\n );\r\n}, [])","IsDeferred":false},{"Name":"Native 2","Code":"newArr.filter(({ id }) =\u003E !oldArr.some(o =\u003E o.id === id))","IsDeferred":false}]}