javascript - how to insert and if defined for a variable in webstorm -
Looks like I have a code
var val = event.deltaX; How do I put a code which will replace
if (event.deltaX) in the above {x = event.deltaX; }
You can try to use live templates for this - around Look at the side.
Comments
Post a Comment