Created
January 30, 2020 09:11
-
-
Save gg-spyda/e0c47a04b9633dbfb5b45abeaca4f3f1 to your computer and use it in GitHub Desktop.
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
</body> | |
<script> | |
//variables | |
const MY_MATRIX = [createSpace(1,2,3), createSpace(4,5,6), createSpace(7,8,9)]; | |
console.log(myMatrix); | |
//functions | |
function createSpace(x, y, z) { | |
return [x,y,z]; | |
} | |
//implementation | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment