{"ScriptPreparationCode":null,"TestCases":[{"Name":"Set","Code":"const first = [\r\n {a: 3, b: 3, c: \u0022hey\u0022},\r\n {a: 3, b: 2, c: \u0022hey\u0022},\r\n {a: 1, b: 2, c: \u0022bye\u0022},\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022}\r\n];\r\n\r\nconst second = [\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022},\r\n {a: 4, b: 4, c: \u0022sup\u0022},\r\n {a: 3, b: 3, c: \u0022hey\u0022}\r\n];\r\n\r\nreturn [...new Set([...first, ...second])]","IsDeferred":false},{"Name":"_.unionWith","Code":"const first = [\r\n {a: 3, b: 3, c: \u0022hey\u0022},\r\n {a: 3, b: 2, c: \u0022hey\u0022},\r\n {a: 1, b: 2, c: \u0022bye\u0022},\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022}\r\n];\r\n\r\nconst second = [\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022},\r\n {a: 4, b: 4, c: \u0022sup\u0022},\r\n {a: 3, b: 3, c: \u0022hey\u0022}\r\n];\r\n\r\nreturn _.unionWith(first, second, _.isEqual);","IsDeferred":false},{"Name":"R.union","Code":"const first = [\r\n {a: 3, b: 3, c: \u0022hey\u0022},\r\n {a: 3, b: 2, c: \u0022hey\u0022},\r\n {a: 1, b: 2, c: \u0022bye\u0022},\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022}\r\n];\r\n\r\nconst second = [\r\n {a: 3, b: 4, c: \u0022hey\u0022},\r\n {a: 2, b: 1, c: \u0022bye\u0022},\r\n {a: 4, b: 4, c: \u0022sup\u0022},\r\n {a: 3, b: 3, c: \u0022hey\u0022}\r\n];\r\n\r\nreturn R.union(first, second);","IsDeferred":false}]}