CrazyEngineers
  • javascript related doubt oops

    Updated: Oct 22, 2024
    Views: 1.1K
    what is the difference between functions,methods,anonymous functions and closure.
    I got it but not upto the point .So please can anyone little bit more?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Morningdot Hablu

    MemberOct 5, 2010

    Well i think method is the concept related with Object oriented programming.While function isn't.
    You need an object to call in the case of method.
    ..........................
    Anonymous function is the function with runtime concept.Anonymous function doesn't have any name.It will be declared dynamically.
    A function with bound constant variable is known as closure.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register