to invoke it you must start by putting:
"use strict";
or
'use strict';
This will let whatever is running the code to know to use a strict mode instead of a freer mode, which is basically the normal JavaScript where you can do whatever you want (which sounds good on the surface until you have an error somewhere due to a random mismatch and spend hours trying to find it).
I would recommend using it a lot for most things, as it will let you know if something you did was kind of stupid, you forgot to declare something, or something like that, issues that might not have been caught for a while will be caught very quickly this way. For example:
Forgetting to declare a variable, if you just put i = 0; instead of let i = 0;, normal JavaScript might not let you know the error (depending on where it's run), but if you use "use strict";, it'll basically yell at you to fix that. If you didn't declare a variable properly it might lead to the variable being global (I believe), which can cause a lot of issues.
Starting a number with a 0 isn't allowed. Usually, if you start a number with a zero JavaScript acts weird (I think it assumes the number to be octal), which is a problem, so you're not accidentally going to declare something like this and and get away with it (AKA: get a bunch of errors):
let i = 019;
Also you can't accidentally name a variable a reserved word. I often write my own libraries to use with my code so I sometimes end up using actual reserved words (sometimes leading to everything breaking). If using "use strict";, it'll tell me that the variable name I just chose for the variable is a reserved word, while in normal JavaScript I don't think it lets you know that, which will be a large issue.
There's a lot more about using strict mode in JavaScript, you can see more information online by reading the documentation.
let x = 3.14:D