Category: JS


good tips of writing javascript(keep updating)


1 making everything in string be char, using regular expression.

str.match(/[a-zA-Z]/g).join(”)

How to manage my JS code


 

So applying this pattern to your code you may have multiple modules and you have the control over what you want to make public and what to keep private. Besides your code will be more organized therefore easy to maintain.

Imitating Jquery


 

 

This looks like Jquery!!!! All I lack is the methods in prototype!

 

Social Media


Categories



All Posts



Contact Info