اختبر معلوماتك في لغة الجافا سكربيت

Question No : 1
Choose the correct code
1- document.getElementById("item")[0].innerHTML="hello"
2- document.getElementById("item").html("hello")
3- document.getElementById("item").innerHTML="hello"
Question No : 2
Choose the correct code
To declare an array
1- var cars = new Array("Saab", "Volvo", "BMW");
2- var cars = ["Saab", "Volvo", "BMW"];
3- all correct
Question No : 3
The Comparison Operators(==) meaning
1- equal to
2- equal value and equal type
3- not equal
Question No : 4
Choose the correct return
typeof("3.14")
1- string
2- number
3- 3.14
Question No : 5
Choose the correct code
To return (URL) of the current page
1- window.location.hostname
2- window.location.href
3- window.navigator.appName
Result : 0 from 5
يرجي كتابة النتيجه التي حصلت عليه في التعليقات
*************************************************
وفي النهايه نسئلكم الدعاء وفي انتظار تعليقاتكم
تعليقات
إرسال تعليق