1.What will be the output of following copde snippet? <script type=\"text/javasc
ID: 3555394 • Letter: 1
Question
1.What will be the output of following copde snippet?
<script type="text/javascript">
function x()
{
var cst = "We are Fast Growing Software Company located in Jalandhar, India.";
var pattern = new RegExp("in","g");
document.write(pattern.exec(cst) + " ");
document.write(pattern.exec(cst) + " ");
document.write(pattern.exec(cst) + " ");
}
</script>
a) in in In
b) in in in
c) in in null
d) in null null
2) -________ method is used to remove focus from the specified object.
a) blur()
b) focus()
c) None
3) What does parseFloat("FF2") evaluates to?
a) 152
b) FF2
c) NaN
d) None
Explanation / Answer
c
a
c
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.