Category: Javascript
-
search element in an array
const arr =[1,2,5,3,9,1]; //array let n=3; function searchelement(arr,n){ //created function for(let i=0 i<arr.length; i++){ //used for loop for iterating elements in an array if(arr[i] ==n){ // if arr[i]= n console.log will print the index of that element n console.log(i); }; }; }
-
Normal Function (Function Declaration)
function greet() { console.log(“Hello Bhai!”); } greet(); // Function call
-
Javascript Question
I can teach you about web development. If you want, I can offer without payment ! Please feel free to contact me. @web_dev555
-
Bantuan mengerjakan soal Matematika Aljabar tentang persamaa…
Gunakan Bold untuk angka atau hasil akhir agar tutor langsung fokus pada inti soal.Jika soalnya panjang atau berbentuk grafik, klik ikon Rantai (zenius.net. ) di atas kotak teks untuk mengunggah foto soal langsung dari buku Anda. Requirements:
-
Distill the Main Idea: Identify and express only the most cr…
Avoid broad statements. Instead, use “journalistic questions” to anchor your request: Who: Who is involved or affected? What: What exactly is happening versus what you want to happen? When/Where: Provide the timeline and specific location or context of the issue. Why: Why is this a problem for you now? Requirements:
