JavaScript and C# Tips & Hints
Very nice explanation can be found here:
There are several options how to include a formatted code in your posts in Medium.com.
One of them is to use GIST. Just go to:
http://gist.github.com
Look at the following code. We want to log messages in Employee class but we don’t want to be able to use different types of logging, i.e. we want to be able to easily switch classes that provide the logging.
Have you ever wondered how to write your JavaScript code in a consistent style?
These tools can help you:
Should you use == or === for comparison in your code? What is the difference?
Two equal signs == are called “equality operator” or “abstract comparison.” They compare only values.