1.

A code to display the no. of characters of a string is written below. Fill in the blank to complete it:<script language=”javascript”>var sometext = “Bye!”document.write(_____________(sometext))</script>

Answer»

<script language=”javascript”>

var sometext = “Bye!”

document.write(strlen()(sometext))

</script>



Discussion

No Comment Found

Related InterviewSolutions