What will be the output of the following JavaScript code?
What will be the output of the following JavaScript code?
निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?
<p id=”demo”></p>
<script>
var js = 10;
js *= 5;
document.getElementById(“demo”).inner
HTML = js;
</script>
Detailed Solution & Logic
50
*= ऑपरेटर किसी विशेष संख्या के गुणन के लिए एक शॉर्टहैंड एक्सप्रेशन है। यह दो आपरेटरों *और =का संयोजन है।
Similar Practice Questions
Id selector is donated by the:
Id selector is donated by the: _____के द्वारा आईडी सिलेक्टर डोनेट किया जाता है।
Used to select all elements with similar style definitions. / समान शैली…
Used to select all elements with similar style definitions. समान शैली परिभाषाओं वाले सभी एलिमेंट्स...
If params is a DOM object for a paragraph, which of the following is a correct syntax to change the text in the paragraph?
If params is a DOM object for a paragraph, which of the following is a...
What is not true about W3.CSS?
What is not true about W3.CSS? W3.CSS के बारे में क्या सही नहीं है?
In an HTML page, the tag defines a hyperlink, and its attribute specifies the URL of the page the link goes to.
In an HTML page, the <a> tag difines a hyperlink, and its attribute specifies the...
Computer crime comes under- / कंप्यूटर अपराध किसके अंतर्गत आता है-
Computer crime comes under- कंप्यूटर अपराध किसके अंतर्गत आता है-
Which of the following file types does not have the ability to be animated?
Which of the following file types does not have the ability to be animated? निम्नलिखित...