Hello everybody.
Today I want to share with you simple way to draw Mutual Style Fund box with help of javascript and svg in html5 with usage of module pattern of javascript.
Recently I had task to make at web site drawings with javascript. After some research I decided to use javascript and...
Hello everybody,
today I want to propose you interesting comparison of two design patterns in javascript. As you probably know, javascript doesn't have idea of public and private members. So in order to implement them some tricks are used. That is module and "revealing module".
Take a look...
Hello everybody,
Have you ever had a desire to become chief of secreat agent or spy? To be honest I never had such desire, but unwilignly I become chief of spies and secret agents which I created in javascript.
To put simply during unit testing of javascript sometime is needed to mock...
Hello everybody,
here is short notice of how to define properties in javascript:
So, lets say you want to have class Dog, with "private" field alias and public property Alias. you can achieve it in the following way:
function Dog(nameOfDog) {
var alias = nameOfDog;
&nb...