You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Create an array called practiceFile with the following entry: 273.15
2
+
letpracticeFile=[273.15];
3
+
//Use the bracket notation method to add "42" and "hello" to the array. Add these new items one at a time. Print the array after each step to confirm the change
4
+
practiceFile[1]=42;
2
5
3
-
//Use the bracket notation method to add "42" and "hello" to the array. Add these new items one at a time. Print the array after each step to confirm the changes.
4
-
6
+
practiceFile[2]="hello";
7
+
//console.log(practiceFile);
5
8
//Use a single .push() to add the following items: false, -4.6, and "87". Print the array to confirm the changes.
0 commit comments