Bläddra i källkod

Update README.md

change "var" to "let"
aarón montoya-moraga 4 år sedan
förälder
incheckning
4f36177538
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -27,8 +27,8 @@ This code creates a scene, a camera, and a geometric cube, and it adds the cube
 ```javascript
 ```javascript
 import * as THREE from './js/three.module.js';
 import * as THREE from './js/three.module.js';
 
 
-var camera, scene, renderer;
-var geometry, material, mesh;
+let camera, scene, renderer;
+let geometry, material, mesh;
 
 
 init();
 init();
 animate();
 animate();