Skip to content
#

es7

Here are 546 public repositories matching this topic...

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 
Open

C/C++

1
lastmjs
lastmjs commented Dec 24, 2019
  • Install Emscripten locally and quickly
  • Use emcc Wasm binary
  • Send errors to the browser console (right now stderr is used for non-errors in emcc, so it's a bit tricky)
  • Robust automated tests
  • Allow passing options to emcc
  • Figure out the sanitization of the file url...it is not sanitized and goes straight into the shell...is that okay? Zwitterion should only b
emilos
emilos commented Mar 19, 2020

Context

It'd be helpful to describe possible migrations paths.

One idea:

const express = require('express')
const Huncwot = require('huncwot')

const app1 = express()
const app2 = new Huncwot()

app1.get('/', () => /* proxy to app2 here */)
app2.get('/', () => 'foo')

app1.listen(3333)
app2.listen(3334)

Not ideal for performance for sure, but it should make it

webpack-babel-env-deps
AndersDJohnson
AndersDJohnson commented Jan 8, 2018

We don't need to transpile certain babel env plugins that are disabled by the user in their Babel env settings.

We could sniff this from user's Babel config.

Or at least provide an option here to manually override considering certain babel env plugins from consideration for transpiling.

DBi1512
DBi1512 commented Mar 27, 2019
const rectangle = {
  width: 20, 
  height:10,
  area: 200
}
let {width, heigh, area, perimeter = 60} = rectangle;
console.log(width, height, area, perimeter)  //20 10 200 60
//Lets modify the object:width to 30 and perimeter to 80
const rectangle = {
  width: 30, 
  height:10,
  area: 200,
  perimeter:80
}
let {width, heigh, area, perimeter = 60} = rectangle;
console.log(width

Improve this page

Add a description, image, and links to the es7 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 es7 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.