Functions in JS newbie

Functions in JS newbie
0.0 0

#1

//Hey dumb question but Im just trying to make something that prints a statement “hello world!” when I call the variable greet
"Make a simple function called greet that returns the most-famous “hello world!”.

Is the question

const greet = () =>
{console.log(‘hello world!’)};

greet();

//and it doesnt print hello world

Im trying to match the format in here
image


#2

It’s working for me.


#3

I’ll probably figure it out eventually, they probably want something specific done