In this blog, I would create a few sample examples to demo basic javascript concepts.
The fiddles are as follows -
The fiddles are as follows -
- Equality, typeof, null and undefined
- this, closure, scoping and namespaces
- classes, instance members, private members, properties, static and prototype object
- Using prototype for inheritance and abstract classes
- Reflection and extension methods via prototypes