A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.2ality.com/2013/02/javascript-influences.html below:

Perl and Python influences in JavaScript

Perl and Python influences in JavaScript

If you search the Mozilla Central

code base

for the texts

"Perl"

and

"Python"

(don’t ignore case) then the comments mention what methods have been borrowed from those languages. The paths mentioned below are relative to

/js/src/

.

[Inspiration: a

blog post

by Ziyun Fei.]

Perl influences in ECMAScript 5String

(

jsstr.cpp

):

Array

(

jsarray.cpp

):

RegExp

(

builtin/RegExp.cpp

): generally Perl-inspired, one comment attests to that fact.

Python influences in ECMAScript 5String

(

jsstr.cpp

):

Array

(

jsarray.cpp

):

ECMAScript 6

ECMAScript 6 was influenced by several languages. Examples:

References
  1. ECMAScript 6: arrow functions and method definitions
  2. ECMAScript 6: classes
  3. Iterators and generators in ECMAScript 6

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4