> I need help writing a JavaScript code?

I need help writing a JavaScript code?

Posted at: 2014-12-18 
Assignment: write a JavaScript function that is called addTen that takes in one parameter, a number, and returns a number that is ten more than the number that was given.

The missing pieces are the parameter, casting the parameter to a number, and returning the added number.

If the parameter is guaranteed to be a number you can skip casting and just do the addition.

This is what i have so far; i don't know what the missing pieces are.

function addTen()

{

}

function addTen(num) {

????return num + 10;

}

Assignment: write a JavaScript function that is called addTen that takes in one parameter, a number, and returns a number that is ten more than the number that was given.