Hi,

I got invalid quantifier error in my error console when i searched using javascript search.


Code:
 <script type="text/javascript">

    var str="Javascript";
    document.write(str.search("C++"));

    </script>