Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2020
    Posts
    378

    How to define an anonymous function?

    How to define an anonymous function?

  2. #2
    Registered User
    Join Date
    Feb 2020
    Posts
    68
    An anonymous function is a function that was declared without any named identifier to refer to it. As such, an anonymous function is usually not accessible after its initial creation. Normal function definition: function hello() { alert('Hello world'); } hello();

  3. #3
    Senior Member
    Join Date
    Sep 2021
    Location
    India
    Posts
    464
    An anonymous function is a function defined without a name. As you know to define a normal function in python, you need to use the def keyword. But in this case of anonymous functions, we use the lambda keyword to define the functions.

  4. #4
    Senior Member
    Join Date
    Sep 2021
    Location
    Bangalore, India
    Posts
    437
    An anonymous function is a function that was declared without any named identifier to refer to it. As such, an anonymous function is usually not accessible after its initial creation. Normal function definition: function hello() { alert('Hello world'); } hello();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.