0

Some guy showed me a piece of javascript code where there's a function called e(); that seems to be native to Javascript

This guy put a string parameter to this function like e(dd);, but I don't know what this function is about. I don't find any documentation about this function.

Did you guys know something about this ? Thank you, this is for my work...

asked Feb 20, 2012 at 9:04
2
  • If you're looking for a JavaScript function please look in google. There are tenths of websites with the list of standard JS functions. Commented Feb 20, 2012 at 9:08
  • 1
    That guy tricked you. See here the proof - e is not defined. Commented Feb 20, 2012 at 9:09

2 Answers 2

5

There is no native function e. In the past, before using things like jQuery, I used e as an alias to document.getElementByID. This might have been common practice, but in fact e could be anything depending on the developer.

answered Feb 20, 2012 at 9:07
Sign up to request clarification or add additional context in comments.

Comments

1

There is no such function in JS. This should be some user-defined function.

answered Feb 20, 2012 at 9:08

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.