When a function is set and the this value is not assigned, it is always … Read more
Manipulating Arrays
forEach()
Pass a callback function that manipulates each element in the referenced array. It sends … Read more
By ‘reference’ and by ‘value’
HTML5 localStorage
As an exercise, I wanted to use vanilla javascript and localStorage() to take two items … Read more
The Definitive “Front-End Developer Job Interview Questions” And My Answers
Browser Paint Render And CSS The “will-change” Property
Recently a fun article was passed around showing how to achieve silky smooth rendering on … Read more
The TCP Handshake Process
Internet traffic starts with a basic tuple: protocol, host and port. The browser provides three … Read more
Traditionally, why has it been better to serve site assets from multiple domains?
Keeping images and assets on a geographically dispersed CDN allows for faster resource requests by … Read more
HTTP Actions
(Rewritten and taken from http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)
- OPTIONS
- GET
- HEAD
- POST
- PUT
- DELETE
- TRACE
- CONNECT
1)
… Read more“use strict”;
… Read moreTells the browser, please add some extra rules when you parse and try
