What is the way to print the length of a function to the console?


Can someone please help?


Hi can you post your code?


What do you mean by the code?


We mean what you typed to attempt this lesson. Code:

var cade = "Cade";

var sayName = function(i) {
    return "Hi my name is " + i;



No, it is the length of yourColor


Yeah, post what you tried.


I can't think of a case where you would ever want to know the length of a function -- maybe you mean the length of a string?