page-banner
Chapter-6 JavaScript and AngularJS
Q61.
जावास्क्रिप्ट में कांस्टेंट डिक्लेअर करने के लिए सही वाक्यविन्यास कौन सा है?<break-line><break-line>Which is the correct syntax to declare a constant in JavaScript?
A. const constant_name;
B. constant_name const;
C. constant_name const = value;
D. const constant_name = value;
View Answer
Q62.
कौन सा कथन जावास्क्रिप्ट में var और Let कीवर्ड के बीच सही अंतर निर्दिष्ट करता है?<break-line><break-line>Which statement specify correct difference between var and let keywords in JavaScript?
A. var defines a variable while let defines a constant.
B. There is no such major difference between them.
C. The value of a variable declared with var can be changed while the value of a variable declared with let cannot be changed.
D. var defined function scoped variable while let define block scoped variable.
View Answer
Q63.
निम्नलिखित में से कौन सा माउस इवेंट नहीं है?<break-line><break-line>Which of the following is not a mouse event?
A. onclick
B. onmousescroller
C. onmouseover
D. onmousemove
View Answer
Q64.
जावास्क्रिप्ट में " Sky is blue " लिखने का सही वाक्यविन्यास है:<break-line><break-line>The correct syntax to write “Sky is blue” in JavaScript is:
A. jscript.write(“Sky is blue”)
B. document.write(“Sky is blue”)
C. print(“Sky is blue”)
D. jscript.print(“Sky is blue”)
View Answer
Q65.
निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following JavaScript code?<pre><code><p id="demo"></p> <script> var js = 10; js *= 5; document.getElementById("demo").innerHTML = js; </script></code></pre>
A. 10
B. 15
C. 5
D. 50
View Answer