Skip to content
#

ecmascript

Here are 776 public repositories matching this topic...

wilsonzlin
wilsonzlin commented Nov 3, 2019

The ForInStatement and ForOfStatement interfaces can also have VariableDeclaration as the value for the left property, as specified by the spec at https://www.ecma-international.org/ecma-262/10.0/index.html#sec-for-in-and-for-of-statements and demonstrated by running the following code:

esprima.parseScript('for (const a in b) {}');
esprima.parseScript('for (const a of b)
DeAnnHuang
DeAnnHuang commented Mar 2, 2017

嗨, 您好
在學習CH05的時候,遇到一個問題
發現在 webpack.config.js 裡面的 module: { preLoaders: [ { ... } ],
似乎造成webpack錯誤 無法執行

如下terminal截圖
image

稍微查了一下,解決方法是用 webpack@2.1.0-beta.22 版本
我目前是 "webpack": "^2.2.0", _應該也

Wayne529
Wayne529 commented Jan 21, 2020

What version of this package are you using?
"eslint-config-standard": "^14.1.0"

What operating system, Node.js, and npm version?
node.js is 10.18.0 and npm version is 6.13.4

What happened?
when i use this npm with eslint, it get something wrong to notice me the errors in the javascript file of my project.like this error:
1:1 error Definition for rule 'no-async-promise-ex

azu
azu commented Apr 27, 2020

Release 1.0.0 · markedjs/markedがリリースされて、キリがいいメジャーアップデートなので、アップデートしておきたい。

動作はおそらく変わっていないので #1112 と同じ。

やること

  • nodecliのmarkedのアップデート
  • snapshot testの更新
  • 文章中の npm install marked@<version> の更新

参考

boa
HalidOdat
HalidOdat commented Apr 26, 2020

Currently the JSON.parse( text[, reviver] ) method only supports the first parameter which takes in a String and converts into an Object.
But, there is an optional function argument that JSON.parse( text[, reviver] ) method takes. It prescribes how the value originally produced by parsing is transformed, before being returned.

Example:

JSON.parse('{"1": 1, "2": 2, "
dmitriid
dmitriid commented Aug 2, 2017

README states:

Why not use WebAssembly?

There are massive existing untyped codebases, and there is no easy way to convert an untyped, garbage collected language to WebAssembly. And even if there were, there is no guarantee that it would be any faster to transmit/parse/start than what we currently have.

whereas WebAssembly FAQ states:

The kind of binary format being considered f

es4x
pmlopes
pmlopes commented Oct 5, 2019

The generated code works without errors for js, however the generated ts definitions might contain bugs although this isn't critical at runtime it can cause confusion at dev time.

A report should be generated for all modules inside the generator directory after a build is done.

The task should be more or less as follows:

  1. Run the generator
  2. Run npm cache to cache the undeployed packa
dotnetCarpenter
dotnetCarpenter commented Sep 19, 2018

Requested Update

I was asked today if there was a tool to check if the transpiled code was ES5 and I referred to this project but I just checked and es-check es5 ... does not catch Promise from ES2015.

Why Is This Update Needed?

The reason I was asked is that they have continuous issues with bug reports because they forget to add polyfills to their projects. They need an automated w

Yoric
Yoric commented Feb 20, 2019

As of #304, we progressively import shared references into the content stream, handing them out dense numbers.

We should probably do the same with prelude references, producing a content stream that dynamically assigns consecutive numbers to shared references and prelude references. This may be further improve compression and/or let us better find patterns that work across shared and prelude re

Improve this page

Add a description, image, and links to the ecmascript topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ecmascript topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.