Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!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
You can’t perform that action at this time.