The name property of a Function object indicates the function's name when it was created. For anonymous functions, it may be anonymous or ' '.

    
    const func1 = function () {};

    console.log(func1.name);
    // "func1"