Closed cjf9 closed 9 months ago
I think all of they three functions should give the same result.
What three functions are you referring to?
@cjf9 Your expectation is incorrect. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body
thank you sir. sorry to bother you
------------------ 原始邮件 ------------------ 发件人: "Richard @.>; 发送时间: 2023年10月3日(星期二) 晚上8:00 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [nodejs/help] Node gives different results for two kind of => function which are ought to be the same (Issue #4256)
@cjf9 Your expectation is incorrect. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Version
v20.7.0
Platform
Microsoft Windows NT 10.0.19045.0
Subsystem
sorry I am an uneducated Chinese farmer
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
simply every time
What is the expected behavior? Why is that the expected behavior?
I think all of they three functions should give the same result. I am not so sure because I am just start learning.
What do you see instead?
like above ↑
Additional information
nope. thank you guys for your work.