Tech
Old CMS excavation site: buried JavaScript patterns
Remember the time before arrow functions, when var was everywhere and JavaScript code looked noticeably different from what we write today? Recently, I stumbled upon some old code in a custom CMS interface that looked genuinely ancient, and it made me think of all those obscure JavaScript patterns that used to be extremely common.
The former self
Losing the execution context was a very common problem back then. JavaScript's runtime binding of this has always been a source of co...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to