473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Internal Function

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

-newbie

Oct 6 '05 #1
3 2221
wrote on 06 okt 2005 in comp.lang.javascript:
I have a very basic question. What is meant by the term "internal
function"? What makes it "internal"?


That it comes with the language:

replace() is an internal function

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

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

Oct 6 '05 #2

jo*********@gmail.com wrote:
What is meant by the term "internal
function"? What makes it "internal"?


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
FunctionDeclaration or created dynamically either
by using a FunctionExpression or by using the built-in Function object
as a constructor."
--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 6 '05 #3
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

Oct 6 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: qazmlp | last post by:
const has internal linkage in C++, but external linkage in C. Am I right ? But, linker reports multiply-defined error if the following header is included in multiple .cpp files. //...
5
by: BoonHead, The Lost Philosopher | last post by:
Does anyone know how to implement internal interface documentation for functions and parameters? I found a similair thing for proerties. For properties I found something like:...
5
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with...
19
by: Martin Oddman | last post by:
Hi, I have a compiling problem. Please take a look at the code below. I have an application that is built upon three tiers: one data tier (Foo.DataManager), one business tier (Foo.Kernel) and...
5
by: Anders Borum | last post by:
Hello! Whilst refactoring an application, I was looking at optimizing a ModelFactory with generics. Unfortunately, the business objects created by the ModelFactory doesn't provide public...
3
by: al.cpwn | last post by:
do static and inline functions or members have internal linkage? I have been reading this newsgroup on google and found conflicting ideas. Can someone please help me understand why in some places...
2
by: VK | last post by:
Does anyone have a reputable reference about internal string storage in JavaScript? (for some particular implementation I mean). Say having 1,048,576 characters long string from the geometric...
9
by: dylan.miller | last post by:
I'm having trouble understanding the internal access modifier. There are many classes in my assembly that should not be accessible outside of the assembly. I've used the internal access modifier...
5
by: Immortal_Nephi | last post by:
I always write global variables and global functions on all modules. I find a way how to encapsulate global variable and global function. I place static on Modify() function and it becomes internal...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.