
Dear friends today's I'm going to share oDesk JavaScript 1.8 Test answer. So learn & pass the test easily.
Analyze
the following code snippet. What will be the output of this code?
<html><body><script
type="text/javascript">var str = "The drain of
the plane is plain";var patt1
=/ain/g;document.write(str.match(patt1));</script></body></html>
a.
1
b.
ain
c.
7,29
d.
7
e.
ain,ain
Which
of the...