Question: Find all the bugs in this JavaScript code: // Test for jokes var joke JavaScript walked into a bar...'; var toldJoke = false; var $punchline
Find all the bugs in this JavaScript code:

// Test for jokes var joke JavaScript walked into a bar...'; var toldJoke = "false"; var $punchline = "Better watch out for those semi-colons." var Xentage - 20; var result if (toldJoke -- true) { Alert(Spunchline); } else alert (joke); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
