πŸ“Š JavaScript
Q. What will be the output of the following JavaScript code?
Code:
<script>
    let x = "Hello, IncludeHelp!";
    document.getElementById("test").innerHTML = x.slice(-13,-1);
</script>
  • (A) IncludeHelp!
  • (B) IncludeHelp
  • (C) ValueError
  • (D) Hello,
πŸ’¬ Discuss
βœ… Correct Answer: (B) IncludeHelp

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate