Преглед изворни кода

Update README.md

change "var" to "let"
aarón montoya-moraga пре 4 година
родитељ
комит
4f36177538
1 измењених фајлова са 2 додато и 2 уклоњено
  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
 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();
 animate();