Read Crockford’s book Javascript, the Good Parts.
You should avoid sync, with, missing semicolons, leaking scope, closures for the sake of closures… and the list goes on.
Read Crockford’s book Javascript, the Good Parts.
You should avoid sync, with, missing semicolons, leaking scope, closures for the sake of closures… and the list goes on.