Pro@programming.dev to Programming@programming.devEnglish · 1 month agoA brief history of JavaScriptdeno.comexternal-linkmessage-square10fedilinkarrow-up140arrow-down12
arrow-up138arrow-down1external-linkA brief history of JavaScriptdeno.comPro@programming.dev to Programming@programming.devEnglish · 1 month agomessage-square10fedilink
minus-squareseravenael@programming.devlinkfedilinkarrow-up1·17 days agoThey still are, the class syntax is syntactic sugar for prototype functions. I would say the only real difference right now as far as I know is that classes allow for private members(#prop), whereas prototype functions don’t.
They still are, the class syntax is syntactic sugar for prototype functions. I would say the only real difference right now as far as I know is that classes allow for private members(#prop), whereas prototype functions don’t.