Here are a few small functions for you to work on. You may turn them all in as one submission.
Remember to test your functions by calling them. If a function returns a value, then call the function from within a document.write( ) statement.
A function that repeats printing one variable 's' for 'n' times. No return value. Use the string repeater:
function printn( s , n ) { // code here}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here