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,853 public repositories matching this topic...

slikts
slikts commented Sep 12, 2018

Chapter in question: https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/ch2.md#template-literals

The suggestion seems to be that the template literals would be all about strings; there's only examples that result in strings, and phrases like "final string value" and "generating the string from the literal" are used in what should be a general context, but the tag function

odinho
odinho commented Feb 5, 2020

🐛 bug report

parcel shouldn't use 'yarn' in engines field as a target.

🎛 Configuration (.babelrc, package.json, cli command)

package.json

{
    ...
    "engines": {
        "node": "^8.0.0 || ^10.0.0 || ^12.0.0",
        "yarn": "^1.13.0"
    }
}

🤔 Expected Behavior

No error.

😯 Current Behavior

odin@kaa:~/appearin/video-conference$ parcel bu
feross
feross commented Aug 18, 2019

https://eslint.org/docs/rules/func-call-spacing

When calling a function, developers may insert optional whitespace between the function’s name and the parentheses that invoke it.

Option: "never" (default) disallows space between the function name and the opening parenthesis.

Examples of incorrect code for this rule with the default "never" option:

/*eslint func-call-spacin
eu81273
eu81273 commented May 19, 2017

If the document.domain property is set in the page, _has module throws error "Access is denied" when try to check window's property for example 'hasOwnProperty'.

So I think it is better to change _has module like below.

var hasOwnProperty = {}.hasOwnProperty;
module.exports = function(it, key){
  try {
    return hasOwnProperty.call(it, key);
  } catch(e){
    return 
websmallrabbit
websmallrabbit commented Oct 12, 2019

I set

{
        test: /\.svg$/,
        loader: 'svg-sprite-loader',
        include: [resolve('./src/renderer/icons')],
        exclude: [resolve('./src/renderer/icons')],
        options: {
          symbolId: 'icon-[name]'
        }
      },
      {
        test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
        loader: 'url-loader',
        exclude: [resolve('./src/renderer/ic
sage

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.