{"ScriptPreparationCode":"var currencies = [\u0022rub\u0022, \u0022usd\u0022, \u0022qwe\u0022, \u0022www\u0022, \u0022zzz\u0022, \u0022eur\u0022];\r\nvar payments = [{currency: \u0022rub\u0022, amount: 99, fee: 88},\r\n {currency: \u0022usd\u0022, amount: 99, fee: 88},\r\n {currency: \u0022peso\u0022, amount: 99, fee: 88},\r\n {currency: \u0022eur\u0022, amount: 99, fee: 88},\r\n {currency: \u0022hrk\u0022, amount: 99, fee: 88},\r\n {currency: \u0022yht\u0022, amount: 99, fee: 88},\r\n {currency: \u0022kht\u0022, amount: 99, fee: 88}];","TestCases":[{"Name":"Array.some","Code":"var tempResult = payments.filter(payment =\u003E currencies.some(elem =\u003E elem === payment.currency));","IsDeferred":false},{"Name":"Array.indexOf","Code":"var tempResult = payments.filter(x =\u003E currencies.indexOf(x.currency) !== -1);","IsDeferred":false}]}