Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fix as many errors in the following JavaScript code as you can:
- // Create an array of names
- var names = array("Peter", "Paul", "Mary");
- // Display a list of the names:
- echo(<ul>);
- for (var i=o; i<names.count, j++) {
- echo '<li>' . names[i]):
- }
- echo </ul>
- // Append a name to the list of names:
- names.append("Lemon Tree');
Add Comment
Please, Sign In to add comment