Help with JS Methods

help me, please.
i’m stuck

you have not assigned a function to makeSpell

wizards.makeSpell is a string, you need to have a function there

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Thank you! It’s a lot easier to read this way.
I still don’t get what I need to do. Can you help me?

here you have given a value of string instead you need go write there a function that do as required

you know how a function is made, you just need to put it there