JS Newbie..Help
SeanChadwick (1)

function exerciseThree(str){
// In this exercise, you will be given a variable, it will be called: str
// On the next line create a variable called 'length' and using the length property assign the new variable to the length of str

// Please write your answer in the line above.
return length;

Can somebody help me please and thx you

You are viewing a single comment. View All
SeanChadwick (1)


sorry so my answer was...

var length = 'Something';

When i ran tests it said
'length' should be the length of str

But i don't understand how to assign it to str