寒寒 on Nostr: 为什么gpt定义JS函数那么爱用const f = () => { }啊……function f(){ ...
为什么gpt定义JS函数那么爱用const f = () => {
}啊……function f(){
}不是很简单明了吗?难道说这两者其实并不等价?
Published at
2024-07-02 10:57:38Event JSON
{
"id": "c9dee256349729e21cf312144368052fbedf8fc05be7cd0b7d101d210500084d",
"pubkey": "20c811f355d039a4419acb87810a2f9376076d2c0deea3c99351715adf519caa",
"created_at": 1719917858,
"kind": 1,
"tags": [
[
"proxy",
"https://social.a2x.pub/notes/9v7uzypdsrp709r0",
"activitypub"
]
],
"content": "为什么gpt定义JS函数那么爱用const f = () =\u003e {\n}啊……function f(){\n}不是很简单明了吗?难道说这两者其实并不等价?",
"sig": "d39eae49881122e9c196ea9af246b206728026b3e42d7ce3083c41e59ffaec96467c03854bc08155efed0922f1ed41258273b3a3b0a68c5964d133cce250e668"
}