Predict the output of the following JavaScript code.
<"script type="text/javascript>
;"var a="GeeksforGeeks
;("var x=a.lastIndexOf("G
;(document.write(x
<script/>
Predict the output of the following JavaScript code.
<"script type="text/javascript>
;"var a="GeeksforGeeks
;("var x=a.lastIndexOf("G
;(document.write(x
<script/>
* השאלה נוספה בתאריך: 29-06-2019