Category:JavaScript: Difference between revisions
typo |
m Added link to Tasks not implemented in JavaScript |
||
(26 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{language|JavaScript |
|||
[[Category:Solutions by Programming Language]] |
|||
|strength=weak |
|||
|express=implicit |
|||
⚫ | '''JavaScript''' is the name of Netscape Communications Corporation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications. |
||
|checking=dynamic |
|||
|gc=yes |
|||
|parampass=value |
|||
|LCT=yes |
|||
|bnf=http://javascript.comsci.us/syntax/statement/bnf.html}}{{language programming paradigm|Object-oriented}}{{language programming paradigm|functional}} |
|||
⚫ | '''JavaScript''' is the name of Netscape Communications Corporation's implementation of the [[ECMAScript standard]], a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications. |
||
Despite the name, JavaScript is only distantly related to the [[Java]] programming language, the main similarity being their common debt to the [[C]] syntax. Semantically, JavaScript syntax has far more in common with the [[Self]] [[programming language]]. |
Despite the name, JavaScript is only distantly related to the [[Java]] programming language, the main similarity being their common debt to the [[C]] syntax. Semantically, JavaScript syntax has far more in common with the [[Self]] [[programming language]]. |
||
JavaScript is a registered trademark of Sun Microsystems, Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation. |
JavaScript is a registered trademark of [[Sun Microsystems]], Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation. |
||
Major browsers have generally implemented the features of ECMASScript 5 (ES5), and have started to adopt elements of ES6. |
|||
JavaScript has been born again, now that [[AJAX]] has come up. The meaning of this, is simply that [[AJAX]] has shown that JavaScript is really still useful, in a lot of domains, and that, using it, (most) web pages can be given a whole new life. |
|||
Updates to implementation of ES6 features are tabulated here: [https://kangax.github.io/compat-table/es6/ https://kangax.github.io/compat-table/es6/] |
|||
Once largely confined to browser environments, and typically isolated from access to system resources, JavaScript (and particularly the cross-platform [https://nodejs.org/en/ Node.js runtime environment]) is now very widely used in server-side and application scripting environments, with full access to local file systems and other OS resources. |
|||
At the same time, mainly because of JavaScript's role in the web, there is a growing number of other languages which [https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js compile to JavaScript]. |
|||
The inclusion of '''tail-call optimisation''' in the ES6 standard reflects increased interest in functional approaches to the composition of JavaScript code, expressed for example, in significant adoption of libraries like Underscore and Lodash. If ES6 tail-call optimisation is widely implemented by JavaScript engines (so far this has mainly been achieved only by Apple's Safari engine) it will make JavaScript a more efficient and more natural environment for coding in a functional idiom. |
|||
==Citations== |
==Citations== |
||
* [ |
* [[wp:Javascript|Wikipedia:Javascript]] |
||
* [https://nodejs.org/en/ Node.js] Event-driven I/O server-side JavaScript environment based on V8 |
|||
* [https://www.npmjs.com npm – Node.js Package Manager] Claims to be the largest ecosystem of open source libraries in the world |
|||
* [https://developer.apple.com/library/mac/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html OS X JavaScript for Applications] JavaScript as an OS X scripting language – supported by the Safari debugger |
|||
* [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Shells Other JavaScript shells] List maintained by Mozilla |
|||
* [https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js List of languages that compile to JS] maintained on Github by Jeremy Ashenas – author of CoffeeScript, Underscore and Backbone |
|||
* [http://shop.oreilly.com/product/0636920028857.do Functional JavaScript] – Michael Fogus, O'Reilly 2013 |
|||
==To do== |
|||
[[Tasks not implemented in JavaScript]] |
Latest revision as of 12:40, 29 December 2023
![Language](http://static.miraheze.org/rosettacodewiki/thumb/2/27/Rcode-button-language-crushed.png/64px-Rcode-button-language-crushed.png)
This programming language may be used to instruct a computer to perform a task.
Garbage collected: | Yes |
---|---|
Parameter passing methods: | By value |
Type strength: | Weak |
Type expression: | Implicit |
Type checking: | Dynamic |
See Also: |
JavaScript is the name of Netscape Communications Corporation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications.
Despite the name, JavaScript is only distantly related to the Java programming language, the main similarity being their common debt to the C syntax. Semantically, JavaScript syntax has far more in common with the Self programming language.
JavaScript is a registered trademark of Sun Microsystems, Inc. It was used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation.
Major browsers have generally implemented the features of ECMASScript 5 (ES5), and have started to adopt elements of ES6. Updates to implementation of ES6 features are tabulated here: https://kangax.github.io/compat-table/es6/
Once largely confined to browser environments, and typically isolated from access to system resources, JavaScript (and particularly the cross-platform Node.js runtime environment) is now very widely used in server-side and application scripting environments, with full access to local file systems and other OS resources.
At the same time, mainly because of JavaScript's role in the web, there is a growing number of other languages which compile to JavaScript.
The inclusion of tail-call optimisation in the ES6 standard reflects increased interest in functional approaches to the composition of JavaScript code, expressed for example, in significant adoption of libraries like Underscore and Lodash. If ES6 tail-call optimisation is widely implemented by JavaScript engines (so far this has mainly been achieved only by Apple's Safari engine) it will make JavaScript a more efficient and more natural environment for coding in a functional idiom.
Citations
- Wikipedia:Javascript
- Node.js Event-driven I/O server-side JavaScript environment based on V8
- npm – Node.js Package Manager Claims to be the largest ecosystem of open source libraries in the world
- OS X JavaScript for Applications JavaScript as an OS X scripting language – supported by the Safari debugger
- Other JavaScript shells List maintained by Mozilla
- List of languages that compile to JS maintained on Github by Jeremy Ashenas – author of CoffeeScript, Underscore and Backbone
- Functional JavaScript – Michael Fogus, O'Reilly 2013
To do
Subcategories
This category has the following 3 subcategories, out of 3 total.
@
- JavaScript User (309 P)
Pages in category "JavaScript"
The following 200 pages are in this category, out of 801 total.
(previous page) (next page)L
- Long multiplication
- Long year
- Longest common prefix
- Longest common subsequence
- Longest common substring
- Longest common suffix
- Longest increasing subsequence
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- LU decomposition
- Lucas-Lehmer test
- Lucky and even lucky numbers
- Ludic numbers
- Luhn test of credit card numbers
- LZW compression
M
- MAC vendor lookup
- Magic 8-ball
- Magic squares of doubly even order
- Magic squares of odd order
- Main step of GOST 28147-89
- Make directory path
- Man or boy test
- Mandelbrot set
- Map range
- Mastermind
- Matrix digital rain
- Matrix multiplication
- Matrix transposition
- Matrix with two diagonals
- Matrix-exponentiation operator
- Maximum triangle path sum
- Mayan numerals
- Maze generation
- Maze solving
- McNuggets problem
- MD4
- Menu
- Mian-Chowla sequence
- Middle three digits
- Miller–Rabin primality test
- Mind boggling card trick
- Minimum numbers of three lists
- Modified random distribution
- Modular inverse
- Modulinos
- Monads/List monad
- Monads/Maybe monad
- Monads/Writer monad
- Monte Carlo methods
- Monty Hall problem
- Morse code
- Mosaic matrix
- Most frequent k chars distance
- Mouse position
- Move-to-front algorithm
- Multi-dimensional array
- Multifactorial
- Multiple distinct objects
- Multiple regression
- Multiplication tables
- Multisplit
- Munchausen numbers
- Musical scale
- Mutual recursion
N
- N'th
- N-queens problem
- N-smooth numbers
- Named parameters
- Narcissist
- Narcissistic decimal number
- Natural sorting
- Nested function
- Next highest int from digits
- Nim game
- Non-continuous subsequences
- Non-decimal radices/Convert
- Non-decimal radices/Input
- Non-decimal radices/Output
- Nonoblock
- Nth root
- Null object
- Number names
- Number reversal game
- Numbers with prime digits whose sum is 13
- Numbers with same digit set in base 10 and base 16
- Numerical integration/Gauss-Legendre Quadrature
O
P
- Padovan n-step number sequences
- Padovan sequence
- Palindrome dates
- Palindrome detection
- Pangram checker
- Parallel calculations
- Parsing/RPN calculator algorithm
- Parsing/RPN to infix conversion
- Parsing/Shunting-yard algorithm
- Partial function application
- Particle swarm optimization
- Partition function P
- Pascal matrix generation
- Pascal's triangle
- Password generator
- Percentage difference between images
- Perceptron
- Perfect numbers
- Perfect shuffle
- Perfect totient numbers
- Permutations
- Permutations with repetitions
- Phrase reversals
- Pi
- Pick random element
- Pig the dice game
- Pisano period
- Plasma effect
- Playing cards
- Poker hand analyser
- Polymorphic copy
- Polymorphism
- Polyspiral
- Population count
- Posit numbers/encoding
- Power set
- Price fraction
- Primality by trial division
- Prime decomposition
- Primes whose sum of digits is 25
- Primorial numbers
- Probabilistic choice
- Program name
- Program termination
- Proper divisors
- Pythagoras tree
- Pythagorean quadruples
- Pythagorean triples
R
- Ramer-Douglas-Peucker line simplification
- Random Latin squares
- Random number generator (included)
- Random numbers
- Range consolidation
- Range expansion
- Range extraction
- Ranking methods
- Rate counter
- Ray-casting algorithm
- RCRPG
- Read a configuration file
- Read a file line by line
- Read entire file
- Real constants and functions
- Recaman's sequence
- Reduced row echelon form
- Reflection/Get source
- Reflection/List methods
- Reflection/List properties
- Regular expressions
- Remove duplicate elements
- Remove vowels from a string
- Rename a file
- Rep-string
- Repeat a string
- Resistor mesh
- Respond to an unknown method call
- Return multiple values
- Reverse a string
- Reverse words in a string
- Rock-paper-scissors
- Rodrigues’ rotation formula
- Roman numerals/Decode
- Roman numerals/Encode
- Roots of a function
- Roots of unity
- Rosetta Code/Find unimplemented tasks
- Rosetta Code/Fix code tags