What are advantages and disavantages of each of these two ways
Also declarations of variables is strong related, in first case natural "var =" , asecond is json way (:). Please comments in this too.
Please give as much details as possible. I'm just starting to learn extJS.
10x