Learning Single:page Web Application Development
上QQ阅读APP看书,第一时间看更新

It's all about JavaScript

As mentioned before, all SPAs are made with JavaScript, and of course, where you have a lot of JavaScript you can easily get in trouble if you don't take notice of code organization.

We recommend that you use some validation tools such as JSLINT and JSHINT and also a validation tool for JSON files such as JSONLint. The following are the links for these validation tools:

The main difference between LINT and HINT is that LINT validates indentation and HINT doesn't.