Strona gナづウwna - poczytaj o JavaScript, jQuery, CSS i HTML5

Wpisy z kategorii English

Interview with JavaScript

Let’s imagine what would happen, if JavaScript was a human interviewed by a random news reporter. more…

Popularity-driven development

For the last ten years I have been publishing various things on the web about JavaScript and front-end development. I also have organized meetups and conferences like Front-Trends or Meet.js Summit. I’ve met a lot of people, worked on exciting projects, got to know different views on certain topics and heard many exciting life stories, either good or bad. Recently, when I looked back at all of these moments I noticed I used social media channels to make them happen. I wasn’t aware though of the responsibility I had. more…

Object.create history and memory leaks

There are at least a few ways to create an object in JavaScript based on a given prototype object. One of them is the Object.create function that was a part of the ECMAScript 5 release. However, before ECMAScript 5 was introduced this function had had to be implemented by programmers themselves and it actually has existed in our programs in a few versions. That said, it’s worth digging into the history of Object.create to see how we used to make objects based on a prototype object. It can lead us to very interesting observations, particularly on how memory leaks can occur in our code and why optimization can be evil. more…