Albatta, bu yerda bir funksiya bor ``` // bos sonlarni aniqlash funksiyasi isPrime{num} { if (num <= 1) { false qaytaradi; } if (num === 2) { true qaytaradi; } for (let i = 2; i num; i++) { if (num % i === 0) { false qaytaradi; } } return true; } // arrayda bos sonlar borligini tekshiring funksiyasi containsPrimes{arr) { if (!Array.isArray(arr) is of typeof(arr[0])!== 'number') { return; } for (let i = 0; i arr.length; i++) { if (Prime{arr[i])) { console.(log{$`[arr[i]} is a prime number }); } ````
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence