This translation is incomplete. Please help translate this article from English.
JavaScript® (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles. Read more about JavaScript.
Η standard έκδοση της JavaScript ονομάζεται ECMAScript. Από το 2012, όλοι οι σύγχρονοι φυλλομετρητές υποστηρίζουν πλήρως την ECMAScript 5.1. Παλαιότεροι φυλλομετρητές υποστηρίζουν τουλάχιστον την ECMAScript 3. Στις 17 Ιουνίου του 2015, δημοσιεύθηκε η 6η κύρια έκδοση της ECMAScript. Επίσημα η έκδοση αυτή ονομάζεται ECMAScript 2015, αλλά συχνά αναφέρεται και ως ECMAScript 6 ή ES6. Το εγχειρίδιο που παρουσιάζεται καλύπτει την ECMAScript 6 ενώ έχει ήδη ξεκινήσει η διαδικασία με τα πρώτα τμήματα της ECMAScript 7.
This section of the site is dedicated to the JavaScript language itself, the parts that are not specific to Web pages, or other host environments. For information about APIs specific to Web pages, please see Web APIs and DOM.
Δεν πρέπει να μπερδεύουμε την JavaScript με την Java programming language. Η Java είναι εμπορικά κατοχυρωμένη από την Oracle στις Η.Π.Α. και σε άλλες χώρες.
ΒΟΗΘΗΜΑΤΑ
Μάθε πως να προγραμματίζεις με την JavaScript σύμφωνα με τις οδηγίες και τα βοηθήματά μας (tutorials).
Εισαγωγικά
- Οδηγός JavaScript
- Αν είστε νέος με την JavaScript, το εγχειρίδιο αυτό θα σας βοηθήσει στην κατανόηση και εκμάθησή της.
- Επισκόπηση των τεχνολογιών της Javascript
- Introduction to the web browser JavaScript landscape.
- Εισαγωγή στην Αντικειμενοστρεφή JavaScript
- Εισαγωγή στις έννοιες του αντικειμενοστρεφή προγραμματισμού με JavaScript.
Intermediate
- A re-introduction to JavaScript
- An overview for those who think they know about JavaScript.
- JavaScript data structures
- Overview of available data structures in JavaScript.
- Equality comparisons and sameness
- JavaScript provides three different value-comparison operations: strict equality using
===, loose equality using==, and theObject.is()method.
Advanced
- Inheritance and the prototype chain
- Explanation of the widely misunderstood and under-estimated prototype-based inheritance.
- Strict mode
- A restricted variant of JavaScript.
- JavaScript typed arrays
- JavaScript typed arrays provide a mechanism for accessing raw binary data.
- Memory Management
- Memory life cycle and garbage collection in JavaScript.
- Concurrency model and Event Loop
- JavaScript has a concurrency model based on an "event loop".
Reference
Browse the complete JavaScript reference documentation.
- Standard objects
- Εξοικιωθείτε με τα standard built-in αντικείμενα
Array,Boolean,Date,Error,Function,JSON,Math,Number,Object,RegExp,String,Map,Set,WeakMap,WeakSet, και άλλα. - Expressions and operators
- Learn more about the behavior of JavaScript's operators
instanceof,typeof,new,this, the operator precedence, and more. - Statements and declarations
- Learn how
do-while,for-in,for-of,try-catch,let,var,const,if-else,switch, and more JavaScript statements and keywords work. - Functions
- Learn how to work with JavaScript's functions to develop your applications.
Tools & resources
Helpful tools while writing and debugging your JavaScript code.
- Firefox Developer Tools
- Scratchpad, Web Console, JavaScript Profiler, Debugger, and more.
- Firebug
- Edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
- JavaScript Shells
- A JavaScript shell allows you to quickly test snippets of JavaScript code.
- TogetherJS
-
Collaboration made easy.
- Stack Overflow
- Stack Overflow questions tagged with "JavaScript".
- JavaScript versions and release notes
- Browse JavaScript's feature history and implementation status.
Join the JavaScript community
- IRC: #js (learn more)
- ES discuss: esdiscuss.org
- SpiderMonkey: Project page
- Twitter: @SpiderMonkeyJS