minus-squareseravenael@programming.devtoProgramming@programming.dev•A brief history of JavaScriptlinkfedilinkarrow-up1·1 day 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. linkfedilink
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.