Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function warningMaker( obstacle ){
- return function ( number, location ) {
- alert("Beware! There have been " +
- obstacle +
- " sightings in the Cove today!\n" +
- number +
- " " +
- obstacle +
- "(s) spotted at the " +
- location +
- "!"
- );
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement