Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function modifiers() {
<div>;
<div> {})} />;
<div>;
<div> console.log(e.keyCode))} />;
<div> console.log(e.keyCode))} />;
<div>;
<div>;
<div>;
<div>;
<div> console.log(e.keyCode))} />;
<div>;
<div> console.log(e.keyCode))} />;
// each modifiers can be specified only once
<div>; //// TS2339: 'prevent' does not exist
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'left' does not exist
<div>; //// TS2339: 'enter' does not exist
// key modifier can be specified only once
<div>; //// TS2339: 'esc' does not exist</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>