This example demonstrates the modifiers property of the event object.

The modifier checks for pressing of the Meta key.

If you press the "Ctrl" key the modifiers property indicates so.

By pressing the "Shift" key, you trigger an event which checks for the SHIFT_MASK modifier.