This tends to provide a "Cannot obtain symbol" error for i inside the if statement. While we Earlier declared i, that declaration is barely in scopeNotice: If you'd only prefer to configure the material selections, but nevertheless use the current locale, passing null for the very first parameter will induce an mistake. Use undefined in its place.T