Created
July 28, 2020 12:40
-
-
Save oreillyross/f027df922d380f43fcc0e0a372a618ab to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/fobijaq
This file contains hidden or 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"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/blissfuljs/1.0.2/bliss.min.js"></script> | |
<script src="https://cdn.rawgit.com/zloirock/core-js/master/client/shim.min.js"></script> | |
<script id="jsbin-javascript"> | |
//jshint esnext:true | |
"use strict"; | |
var1 = 1; | |
var2 = 2; | |
console.log(var1, var2); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">//jshint esnext:true | |
[var1,var2] = [1,2] | |
console.log(var1, var2)</script></body> | |
</html> |
This file contains hidden or 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
//jshint esnext:true | |
"use strict"; | |
var1 = 1; | |
var2 = 2; | |
console.log(var1, var2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
look Ma, no const in array desctructuring