On completion of basic JavaScript Thoughts

Immediately on a back, the past few days been studying js, will unconsciously and linked to other programming languages, in the absence of learning jQuery, combined with c I have learned, java, data structure, database and some html feel JavaScript which has a lot of similarities, JavaScript suggests that it is the Java language and script script composed his grammar and Java syntax, some similar, but very different from the place, in the sense learned so many languages, js in I feel most is the function that a function can be placed inside the method, the following methods can continue to function, it requires a certain logic skills, you call a function, the function passed to participate in general programming language similar to his function this one than the usual language logic is stronger (probably my other linguistic relatively shallow), it can call a callback function with a defined function when the function can be used in an attribute, you can call a function in the array, you can use the function in an object ......, in this one, I'm not very similar to other languages, var definitions can define everything, but Var statement must be used, the use of JavaScript to do some results have to be some basic html and css, need to use some basic style, css is performance, and js behavior, behavior can change the performance, so you can pair js css the direct style of operation, this area demonstrates the powerful js function, at least learn some css js it to understand the absolute positioning and floating, we can do some small projects, as tools, I feel can strengthen the first to write editplus what basis, allowing you remember the labels when you put js wrote skilled then you can use hbuilder to write, he and eclipse similar usage, with up very comfortable, yes, learning JavaScript have to learn is to find documents , help documentation to help you find a property or method need to use the debug on, have a kind of code for any programming white bug feeling two hours five minutes, and can be used on debug HBuilder internal debugging or use the browser to debug browser have a lot of ills, and what about IE8 compatible browsers also given different codes, different Different browser usage, Firefox also has its own browser in order to use the code, still have a lot of effort, in fact, the code is compatible with more practice in the process, bug will be less and less, and who will go wrong or practice more last js want to say is about the most critical is the DOM and

Guess you like

Origin www.cnblogs.com/liugangjiayou/p/11366629.html