About JavaScript / about object-oriented (programming)
People will have slightly different opinions..
but anyway, while surfing I came across what I'd call a good blog and wanted to introduce it.
1. Java = JavaScript?
"JavaScript is a child-tier script derived from JAVA?"
"Java" is a fully object-oriented programming language built by Sun Microsystems, while "JavaScript" is an interpreter-style programming script built by Netscape. JavaScript was originally named "Live Script", but for marketing reasons, it was renamed to "JavaScript", borrowing the name of Java which was popular at the time. Of course, to use the Java name, they signed a partnership with Sun Microsystems. The name "Java" was attached for marketing purposes - it is not a script derived for Java programmers.
Then why are the syntax of Java and JavaScript so similar?
Because both are based on the C language, they share many syntactic similarities. One representative example is the accessor ".". The syntax is similar, but the two are completely different languages.
2. JavaScript and JScript, and ECMA Script
3. Browser compatibility
4. JavaScript in XHTML
5. 0, -0, null, "", false, NaN, undefined are false; everything else is true!
6. JavaScript is forgiving
For details
-> http://www.taeyo.net/Columns/View.aspx?SEQ=217&PSEQ=10&IDX=0
- Open in Google Docs Viewer
- Open link in new tab
- Open link in new window
- Open link in new incognito window
- Download file
- Copy link address
- Edit PDF File on PDFescape.com
