function name(e) in Javascript -
As a full JavaScript innovation, I'm challenged to see what might seem like simple concepts for the Javascript JavaScript overlord
My problem is not really a problem when I am doing my code editor in my code editor, so often I will see such content
< Pre> function name (e) {if (E.keycode) {....}}
What does it accomplish? Is it different from just if (KeyCode)
? What is e? / Code?
It seems that the function is called by the browser (Or whatever) when fireing a specific incident (in this case I think this keyboard is related, e is for event or event data).
Once removed, caller event structure will be defined as a parameter (copying to e) Javascript will not define any local / global variable for a specific call, so define the encoding Will not be done, but they include variables in E.
Comments
Post a Comment