JavaScript Learning Notes

Source: Internet
Author: User

1, Webstrom feel is very good, have their own local debugging also support to start the browser and debugging. If you have an Ajax method, you can run it.
Before, if there is an Ajax method, directly using a text editor, and then open in the browser this way is not possible, usually I will publish the Web project in Eclipse and then debug Ajax.
2, there is a reference to the document, in structure, Luo lists the API provided by ECMASCRIPT,ECMASCRIPT5. So you don't have to check the documentation every time.
In fact, I also hope that I can write a program, after execution can automatically list all the local methods.
There is also the ability to automatically pull out CSS.
3, Webstrom automatic format after the need to remove the space, or the compression of JS will become uncompressed, if it is like Chrome, there is a simulation of the format, not really add a space is good.
4. When I wrote JavaScript yesterday (Http://www.w3school.com.cn/tiy/t.asp?f=jseg_timing_stop)

 

This method of timing, timedcount can not be changed to other, I think as long as there is settimeout on it, outside the function of their own name, but is not the case. Although not very understanding, but know that should be used.

5, feel a bit strange when the script written in the body and written in the head there is also a difference

<! DOCTYPE html><!--lang:html--> 

The above JavaScript code, I write it in the body can run, but written in the head will prompt null, (Debugging on Chrome)
So what's the difference between a script and a head in the body? Is there any way to make up for it?

JavaScript Learning Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.