Most voted "ecmascript" questions
This tag is NOT synonymous with the [javascript] tag and should NOT be used when the question is about technical usage problems (difficulties) or third party libraries, it should be used only for questions about standard specifications (Ecma-262).
Learn more…10 questions
Sort by count of
-
7
votes1
answer222
viewsWhy is there no Lookbehind in Javascript?
I hear there’s no such thing as group Construct lookbehind in Regex’s made in Javascript then I appeared some doubts as: Because there is no? Is there any reason that makes it incompatible c/the…
-
6
votes3
answers194
viewsWhy does isNaN(null) return "false"?
I came across a situation where undefined and null return a different value to the function isNaN, while I hoped they would both return true (are not numbers). In the example below I also put a…
javascript characteristic-language numbers ecmascriptasked 3 years, 11 months ago Rafael Tavares 4,528 -
5
votes1
answer138
viewsThe spread of Ecmascript ... arr is an operator?
I’ve seen articles referring to spread as "spread syntax" and as "spread operator" (for example here). I understand that an "operator" is "a function that takes arguments and returns a single…
javascript terminology characteristic-language operators ecmascriptasked 5 years, 6 months ago Thiago Krempser 1,878 -
3
votes1
answer126
viewsHow efficient is Operator spread when copying Javascript objects?
I recently saw a comment around that talked about the performance of the operator "spread" or "scattering" in Javascript. The question essentially would be: if we wanted to copy an object and for…
-
3
votes2
answers73
viewsIs there documentation in the Ecmascript standard that ensures that an array when passed as a property advisor has a defined format?
The other day debugging a code here on the page I found something peculiar. Like that: let a = {}; let b = [1,2,3]; let c = [4,2,3]; a[b]= 1; a[c]= 2; console.log(a) //{ "1,2,3": 1, "4,2,3": 2 }…
javascript characteristic-language software-engineering documentation ecmascriptasked 3 years, 5 months ago Augusto Vasques 15,321 -
1
votes1
answer71
viewsIs it possible to use Ecmascript 6 without Babel or Webpack?
As in the old days, it would be possible to simply include an Ecmascript 6 file in the browser and use its functionalities without the need to "transpose" these codes?
-
1
votes1
answer246
viewsClasses with private Javascript properties
I’m starting my programming frontend, and started messing with classes in Javascript (following the standards set out in Ecmascript 6). But I’m having trouble using private property and methods. I…
-
1
votes2
answers71
viewsQuestions about Ecmascript
I searched several contents on the internet, but I did not have a very clear answer, and I would like to know why the courses teach from ES6 and not ES5, ES4 etc... There is something specific about…
-
0
votes1
answer1359
viewsWhat is the difference between Ecmascript and Javascript?
What is the difference between ECMA Script and Javascript? I hear the term Ecmascript a lot, SE5, SE6, linked to the Javascript language. There is similarity between these two terms?…
-
0
votes1
answer91
viewsPrivate method in JAVASCRIPT class
How to define a private method in a class JavaScript in order to make the method msg_privada as private (not externally visible) without changing the rating pattern? The method msg_privada must be…