Because when using Arrow Function it returns Undefined. But when using a normal function it works correctly.
Speak up, Diego! Post your codes in text form instead of prints! Edit your question and click the button
{}
to format the code!– LipESprY
This way you’re trying is wrong. It is a double doubt: https://answall.com/questions/209506/d%C3%Bavida-com-javascript-Arrow-Function
– Emerson Vieira
Pow vlw borther,is pq is my first question here kk
– Diegosny