Skip to content

Instantly share code, notes, and snippets.

@christophehurpeau
Created September 7, 2017 08:33
Show Gist options
  • Save christophehurpeau/dae28d1e6a8c6babb7cf5458649eed69 to your computer and use it in GitHub Desktop.
Save christophehurpeau/dae28d1e6a8c6babb7cf5458649eed69 to your computer and use it in GitHub Desktop.
<html>
<head>
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=default,es6,es7,caniuse:console-basic&flags=gated&unknown=polyfill"></script>
<script src="https://rawgit.com/facebook/regenerator/master/packages/regenerator-runtime/runtime.js"></script>
<script>
(function _callee() {
return regeneratorRuntime.async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
console.log('it works');
case 1:
case 'end':
return _context.stop();
}
}
}, null, this);
})();
</script>
</head>
<body>
Please look the navigator web console.
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment