1var colors = ["red","blue","green"];
2for (var i = 0; i < colors.length; i++) {
3 console.log(colors[i]);
4}
1let colors = ['red', 'green', 'blue'];
2for (const color of colors){
3 console.log(color);
4}
1let str = "12345.00";
2str = str.substring(0, str.length - 1);
3console.log(str);
1Help us test exciting upcoming updates in this place! Make sure to report issues and ideas through the Feedback Submission button (right next to the settings button)!
2https://www.roblox.com/games/918612434/Test-Sever
3The is the Adopt Me test server. It will shutdown spontaneously and frequently as we test. Your data will not load or save here.
1const friends = [
2 `Dale`,
3 `Matt`,
4 `Morne`,
5 `Michael`,
6];
7
8for (let i = 0; i < friends.length; i++) {
9 console.log(friends[i]);
10}