Categories
Development

Cunning way of sanitizing options

How to deal with juggling the options through multiple private methods or how to overengineer sanitize functionality.

Categories
Development

Simple javascript singleton pattern that works everywhere

How to make a real Singleton object prototype in javascript and make it really unique. What is object prototype and how the hell primitive object use extended properties.