Looper
You are going to create a for loop inside of an inline
You are going to create a for loop inside of an inline
Define a function that takes one parameter of type String. The function should return the string in reversed format. So if a user passes in This is cool! the function will return !looc si sihT Print the result of the function to the screen.
var sayHello = function(){ console.log("hello class") } Tasks Level One * call the function * change this function expression to a function declaration Tasks Level Two * Give the function a name parameter * Pass the function call a string (preferably a name) as an argument. * Return a cool string, like: "Hello Fred!"! Tasks
Write a console-log version of checkers that has the right amount of squares and something to represent the checkers on the board. You don't have to move the checkers for part 1, for now just set up the board and print it out.
Build a constructor that can generate enemy "objects." Then write a function to create 100 enemy objects, store them in an array, and return the array. Each enemy object should have the following properties: * type * hitPoints * defense The type should be randomly selected among the following types: * Ancient Dragon * Prowler