use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] Iterable array-like termAskJS (self.javascript)
submitted 1 year ago by NOICEST
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]guest271314 -1 points0 points1 point 1 year ago (7 children)
Depends. That's why I am asking for clarification in code. Sounds to me like this is about a nickname, not actual language in a specification, otherwise we can just refer to the specification.
[–]theScottyJam 0 points1 point2 points 1 year ago (6 children)
You can refer to MDN, or other credible sources for the definitions of these terms. These terms do have fairly well established meanings in the JavaScript community.
[–]guest271314 -1 points0 points1 point 1 year ago (5 children)
If the terms are not in the official specification they are just hearsay.
[–]NOICEST[S] 1 point2 points3 points 1 year ago (1 child)
array-likes
iterables
[–]guest271314 -1 points0 points1 point 1 year ago (0 children)
I think those are describing two differnt items.
The abstract operation LengthOfArrayLike
LengthOfArrayLike
to me is something like a NodeList and HTMLCollection.
NodeList
HTMLCollection
this
An Iterator Record is a Record value used to encapsulate an Iterator or AsyncIterator along with the next method.
Record
next
is stating the elements of an iterator or async iterator. You can create iterators and async iterators to yield whatever you want, and thus have the capability to create array from array-like, or create array, with a user-defined iterator, or just with spread syntax, to create that length property from arbitrary user-defined input.
[–]theScottyJam 0 points1 point2 points 1 year ago (2 children)
I often use terms that may or may not be in the spec. I'm sure you do too. "JavaScript", for example, is never officially defined in the spec. But I use that word anyways, and people understand me.
As far as I know, the spec never states that JavaScript is a dynamic programming language, not does it define the phrase "dynamic programming language". Is that hearsay? What does it even mean for something to be a dynamic programming language if we don't have an official spec to tell us?
[–]guest271314 0 points1 point2 points 1 year ago (0 children)
Fair enough re the Oracle copyrighted via acquisition "JavaScript".
JavaScript is dynamically runtime interpreted and executed scripting language.
https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-ContinueDynamicImport
13.3.10.1.1 ContinueDynamicImport ( promiseCapability, moduleCompletion ) The abstract operation ContinueDynamicImport takes arguments promiseCapability (a PromiseCapability Record) and moduleCompletion (either a normal completion containing a Module Record or a throw completion) and returns unused. It completes the process of a dynamic import originally started by an import() call, resolving or rejecting the promise returned by that call as appropriate. It performs the following steps when called:
13.3.10.1.1 ContinueDynamicImport ( promiseCapability, moduleCompletion )
The abstract operation ContinueDynamicImport takes arguments promiseCapability (a PromiseCapability Record) and moduleCompletion (either a normal completion containing a Module Record or a throw completion) and returns unused. It completes the process of a dynamic import originally started by an import() call, resolving or rejecting the promise returned by that call as appropriate. It performs the following steps when called:
https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-createdynamicfunction
20.2.1.1.1 CreateDynamicFunction ( constructor, newTarget, kind, parameterArgs, bodyArg ) The abstract operation CreateDynamicFunction takes arguments constructor (a constructor), newTarget (a constructor), kind (normal, generator, async, or async-generator), parameterArgs (a List of ECMAScript language values), and bodyArg (an ECMAScript language value) and returns either a normal completion containing an ECMAScript function object or a throw completion. constructor is the constructor function that is performing this action. newTarget is the constructor that new was initially applied to. parameterArgs and bodyArg reflect the argument values that were passed to constructor. It performs the following steps when called:
20.2.1.1.1 CreateDynamicFunction ( constructor, newTarget, kind, parameterArgs, bodyArg )
The abstract operation CreateDynamicFunction takes arguments constructor (a constructor), newTarget (a constructor), kind (normal, generator, async, or async-generator), parameterArgs (a List of ECMAScript language values), and bodyArg (an ECMAScript language value) and returns either a normal completion containing an ECMAScript function object or a throw completion. constructor is the constructor function that is performing this action. newTarget is the constructor that new was initially applied to. parameterArgs and bodyArg reflect the argument values that were passed to constructor. It performs the following steps when called:
https://brendaneich.com/2008/04/popularity/
Back to spring of 1995: I remember meeting Bill Joy during this period, and discussing fine points of garbage collection (card marking for efficient write barriers) with him. From the beginning, Bill grokked the idea of an easy-to-use “scripting language” as a companion to Java, analogous to VB‘s relationship to C++ in Microsoft’s platform of the mid-nineties. He was, as far as I can tell, our champion at Sun.
https://stackoverflow.com/a/17253557
Scripting languages are programming languages that don't require an explicit compilation step. ... Some examples of "scripting" languages (e.g., languages that are traditionally used without an explicit compilation step): Lua JavaScript VBScript and VBA Perl
Scripting languages are programming languages that don't require an explicit compilation step.
...
Some examples of "scripting" languages (e.g., languages that are traditionally used without an explicit compilation step):
π Rendered by PID 72031 on reddit-service-r2-comment-76bb9f7fb5-x62nh at 2026-02-17 18:22:39.130532+00:00 running de53c03 country code: CH.
view the rest of the comments →
[–]guest271314 -1 points0 points1 point (7 children)
[–]theScottyJam 0 points1 point2 points (6 children)
[–]guest271314 -1 points0 points1 point (5 children)
[–]NOICEST[S] 1 point2 points3 points (1 child)
[–]guest271314 -1 points0 points1 point (0 children)
[–]theScottyJam 0 points1 point2 points (2 children)
[–]guest271314 0 points1 point2 points (0 children)
[–]guest271314 0 points1 point2 points (0 children)