Created
July 27, 2020 06:55
-
-
Save actionanand/428eef6c92b8533d128b114d6a665ef1 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
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"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
let question = ['🥚','🐔'] | |
let answer = question.sort() | |
console.log(answer[0] + ' was first!') | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">let question = ['🥚','🐔'] | |
let answer = question.sort() | |
console.log(answer[0] + ' was first!')</script></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
let question = ['🥚','🐔'] | |
let answer = question.sort() | |
console.log(answer[0] + ' was first!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment