Skip to content
#

ES6

es6 logo

ECMAScript is the standardization of script languages, including JavaScript. ECMA stands for the European Computer Manufacturer's Association.

Here are 10,727 public repositories matching this topic...

oriprice
oriprice commented Jan 17, 2017

In What about &&? section we have the following code.

function foo() {
    console.log( a );
}

var a = 42;

a && foo(); // 42

result in comment should indicate that foo was called. but in fact we would get same result of "42" if first operand had been called (like in || operator). i think results of a and foo() should be different to make the example be clearer.

leecade
leecade commented Nov 21, 2019

🙋 feature request

https://github.com/parcel-bundler/parcel/blob/d24e09a9797af41a9d2c6c733b1c6cf6671d60c7/packages/core/workers/src/Profiler.js#L2

The inspector module not always available, it depends on build param --without-inspector

🤔 Expected Behavior

Compatible with --without-inspector mode.

😯 Current Behavior

Direct import

💁 Possible Solution

Not pretty

zeldman
zeldman commented Jun 12, 2019

In dialog intended to encourage new user to choose an appropriate theme for their business, if you choose BUSINESS, then WEB DESIGN, then select the “CALM” design option, the subhead text “Welcome! What can we do for you today?” is far too large for the containing block (especially in mobile preview view). The subhead is also set in white, and superimposed over a photo containing large swaths of w

wheresrhys
wheresrhys commented Nov 2, 2019

From the docs:

.mjs files are limited to basic functionality without support for esm options.

I'm converting a package to esm. Having converted all the src files to esm syntax, but keeping the file extensions as .js, everything works ok. However, if I rename some src files to .mjs I get errors importing other packages:

Created by Brendan Eich‎, ‎Ecma International

Released 1997

Organization
tc39
Website
www.ecma-international.org
Wikipedia
Wikipedia
You can’t perform that action at this time.