Skip to content

Instantly share code, notes, and snippets.

@mauriciopoppe
Created May 3, 2016 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriciopoppe/8c056fab3c332cc84ede7a00613dc8f2 to your computer and use it in GitHub Desktop.
Save mauriciopoppe/8c056fab3c332cc84ede7a00613dc8f2 to your computer and use it in GitHub Desktop.
esnextbin sketch
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ESNextbin Sketch</title>
<!-- put additional styles and scripts here -->
</head>
<body>
<!-- put markup and other contents here -->
</body>
</html>
import ExtendableError from 'es6-error'
var b = new ExtendableError();
console.log(b instanceof ExtendableError);
console.log(b instanceof Error);
{
"name": "esnextbin-sketch",
"version": "0.0.0",
"dependencies": {
"es6-error": "2.1.1"
}
}
'use strict';
var _es6Error = require('es6-error');
var _es6Error2 = _interopRequireDefault(_es6Error);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var b = new _es6Error2.default();
console.log(b instanceof _es6Error2.default);
console.log(b instanceof Error);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment