Update CheckInventoryFrontend JavaScript
Update to modern JavaScript
-
"use strict"
- JavaScript strict mode -
replace var
withlet
, useconst
whenever possible - Var, Let, and Const – What's the Difference?
Edited by Sovibol Keo
Update to modern JavaScript
"use strict"
- JavaScript strict mode
var
with let
, use const
whenever possible - Var, Let, and Const – What's the Difference?