About 27,900,000 results
Open links in new tab
  1. JavaScript error: "is not a function" - Stack Overflow

    It was attempted to call a value like a function, but the value is not actually a function. Some code expects you to provide a function, but that didn't happen.

  2. What is the C++ function to raise a number to a power?

    That standard library function pow has several drawbacks: relatively slow not compatible with physical quantities libraries like mp-units not exact not very readable not adapted to integers. In nearly all …

  3. javascript - Are 'Arrow Functions' and 'Functions' equivalent ...

    If a function is constructable, it can be called with new, i.e. new User(). If a function is callable, it can be called without new (i.e. normal function call). Functions created through function declarations / …

  4. How can I use an array of function pointers? - Stack Overflow

    How should I use array of function pointers in C? How can I initialize them?

  5. How do I define a function with optional arguments?

    466 I have a Python function which takes several arguments. Some of these arguments could be omitted in some scenarios.

  6. What is the naming convention in Python for variables and functions ...

    See Python PEP 8: Function and Variable Names: Function names should be lowercase, with words separated by underscores as necessary to improve readability. Variable names follow the same …

  7. JavaScript: Passing parameters to a callback function

    In the snippet above, the setTimeout function takes 2 arguments, the callback function and a minimum time in ms for the function to be called, so when passing the callback function we're going to use bind …

  8. How to return a result from a VBA function - Stack Overflow

    When called within VBA the function will return a range object, but when called from a worksheet it will return just the value, so set test = Range("A1") is exactly equivalent to test = Range("A1").Value, …

  9. How do I Start a job of a function i just defined? - Stack Overflow

    I agree that if all @Alex58 wants to do is run a single function a parameterized ScriptBlock is the way to go. But if he is defining multiple functions or an advanced function, InitializationScript can be very …

  10. javascript - What is 'Currying'? - Stack Overflow

    In a functional language, you could pass in the mass of the earth to the function and then partially evaluate it. What you'd get back is another function that takes only two arguments and calculates the …