made with esnextbin
Created
May 3, 2016 23:53
-
-
Save mauriciopoppe/8c056fab3c332cc84ede7a00613dc8f2 to your computer and use it in GitHub Desktop.
esnextbin sketch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ExtendableError from 'es6-error' | |
var b = new ExtendableError(); | |
console.log(b instanceof ExtendableError); | |
console.log(b instanceof Error); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "esnextbin-sketch", | |
"version": "0.0.0", | |
"dependencies": { | |
"es6-error": "2.1.1" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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