Internal Function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • josulliv101@gmail.com

    Internal Function

    Hi,
    I have a very basic question. What is meant by the term "internal
    function"? What makes it "internal"?

    -newbie

  • Evertjan.

    #2
    Re: Internal Function

    wrote on 06 okt 2005 in comp.lang.javas cript:
    [color=blue]
    > I have a very basic question. What is meant by the term "internal
    > function"? What makes it "internal"?
    >[/color]

    That it comes with the language:

    replace() is an internal function

    myReplaceFuncti on() is not, but you can make it a function.

    --
    Evertjan.
    The Netherlands.
    (Replace all crosses with dots in my emailaddress)

    Comment

    • Martin Honnen

      #3
      Re: Internal Function


      josulliv101@gma il.com wrote:
      [color=blue]
      > What is meant by the term "internal
      > function"? What makes it "internal"?[/color]

      Where have you seen that term used, in which context? If someone has
      used it here in the newsgroup then provide the id of the post so that we
      have some context. Or post a URL where that has been used.

      The ECMAScript specification defines the term as follows (edition 3
      section 10.1.1):

      "Internal functions are built-in objects of the language, such as
      parseInt and Math.exp. An
      implementation may also provide implementation-dependent internal
      functions that are not described
      in this specification. These functions do not contain executable code
      defined by the ECMAScript
      grammar, so they are excluded from this discussion of execution contexts."

      and contrasts that to "program functions" defined as

      "Program functions are defined in source text by a
      FunctionDeclara tion or created dynamically either
      by using a FunctionExpress ion or by using the built-in Function object
      as a constructor."


      --

      Martin Honnen

      Comment

      • josulliv101@gmail.com

        #4
        Re: Internal Function

        Hi,
        Thanks for the info and the quick response. I did not see the term on
        the forum, it was in a document at my work.

        Thanks,
        Joe

        Comment

        Working...