MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1xfxtnx/i_love_python/19rvzeqicpn5u/?context=3
r/programminghorror • u/nakurtag • Oct 26 '26
81 comments sorted by
View all comments
Show parent comment
1
you actually seem to be correct... I must have misremembered. I vividly remember we had a bug in our Node-JS backend (not my choice) which worked exactly the same as this, but then it was probably passed in or a const...
Sorry for the confusion / misinformation ^^
1 u/tehdog Oct 30 '26 The default parameter syntax in JS is pretty new, up until some years ago you could only use it with TS or transpilation
The default parameter syntax in JS is pretty new, up until some years ago you could only use it with TS or transpilation
View all comments
Show parent comment
1
u/Beregolas Oct 30 '26
you actually seem to be correct... I must have misremembered. I vividly remember we had a bug in our Node-JS backend (not my choice) which worked exactly the same as this, but then it was probably passed in or a const...
Sorry for the confusion / misinformation ^^