JavaScript has had a lot of improvements lately with new syntax and features being added all the time. But some things don't change, everything is still an object, pretty much everything can be altered at runtime and there is no concept of public/private properties. But there are some tricks we can use to change some of this ourselves, in this post I am going to look at the various ways in which we can implement private properties.
I was recently asked by Ruth to explain what the purpose of getters and setters are in JavaScript and how to use them. This led to me somewhat ramble about all I know on the subject in the JSOxford channel of the Digital Oxford Slack. People seemed to find what I said useful so I thought it best to write a more coherent version.
For the third year running I attended Hackference again. Once again, a 1 day conference followed by a 24 hour hackathon and as always a really great weekend.
The line between the web and native applications is becoming more and more blurred. One of the latest goodies to land in browsers that gives our users a consistent, seamless experience is the Web Share API currently only available in Chrome.