Search Result


Tag : javascript

7 Posts

Bandersnatch JavaScript code analysis

In case you have been living under a rock, here's a catch-up. Black Mirror: Bandersnatch is an interactive movie released on Netflix on December 28th, 2018.
In essence, it's the same as interactive movies/video games like Dragon's Lair, Space Ace, and many, many others.
Dragon's Lair Dragon's Lair, an arcade game from the 80's

The mechanic is the following: you see

Is JavaScript the future?

A week ago or so I was trying to explain what JavaScript is to my mother. She's a 56-year-old lawyer, so I try to keep my concepts as basic as possible.

The story usually goes like this: "JavaScript was that shy person in the corner that no one was very fond of. Some years pass and that person got some

My favorite JavaScript libraries

JavaScript libraries appear on a daily basis, and I think it is almost impossible to catch up.

For this article, I'll stick to libraries and plug-ins and leave full frameworks for some other time. These are libraries that I have personally used in my developments.

moment.js

DateTime objects are always hell. Your application has one specification, the user's OS

Securing values in JavaScript

Using global variables in JavaScript is not commonly considered a good practice.

Besides these constraints, in web development, every user has access to the Window (or global) object. By putting variables on the global scope, you give any user the ability to see or change your variables.

So what can you do?

Well, if using globals is necessary in your