This makes if statements a bit quicker to scan, and might help others reading your code later more quickly grasp what's happening. I often find if you're writing long comments to explain a line of code you can probably name things more descriptively instead.
You've got quite a few complex/non-obvious conditional checks, e.g.
https://github.com/mhtien/js-calculator/blob/d220d0209c55d1f10150d0f5dc68ab42bffe1d78/script.js#L94
You could make these clearer by extracting the conditions to variables with descriptive names. E.g.
This makes if statements a bit quicker to scan, and might help others reading your code later more quickly grasp what's happening. I often find if you're writing long comments to explain a line of code you can probably name things more descriptively instead.