WEBVTT

1
00:00:00.000 --> 00:00:02.230
Keep watching to see my solution, and
then go ahead and give it another go.

2
00:00:02.230 --> 00:00:05.853
If you open up the let_const.js
file in workspaces, you'll see

3
00:00:05.853 --> 00:00:10.810
two variable definitions, teachers and
courses, toward the top of the file.

4
00:00:10.810 --> 00:00:14.970
These two variables were
declared using the const keyword.

5
00:00:14.970 --> 00:00:17.690
This means that the variables
can not be reassigned.

6
00:00:18.700 --> 00:00:22.520
Your first task in this practice
session was to write a function that

7
00:00:22.520 --> 00:00:24.680
updated this teacher's array.

8
00:00:24.680 --> 00:00:28.280
To do this, you may have tried to
reassign the teacher's variable

9
00:00:28.280 --> 00:00:30.000
by setting it equal to a new array
that included all of the teachers.
