How to Write Better-Optimized JavaScript Assignment Programs?