No subject
Mon Apr 20 21:23:45 PDT 2009
then from within that function how would I call it?
function "my description here" () {
...
"my description here"(foo)
};
That doesn't seem right, but maybe I'm overlooking something.
--001e680f17ac8e825004691a33e0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8"><m=
eta name=3D"ProgId" content=3D"Word.Document"><meta name=3D"Generator" cont=
ent=3D"Microsoft Word 12"><meta name=3D"Originator" content=3D"Microsoft Wo=
rd 12"><link rel=3D"File-List" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5C=
LOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel=3D"the=
meData" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%5CTemp%5Cmso=
htmlclip1%5C01%5Cclip_themedata.thmx"><link rel=3D"colorSchemeMapping" href=
=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C=
01%5Cclip_colorschememapping.xml"><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1073750139 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><span style=3D"font-size: 11pt; font-family: "Calibri",&q=
uot;sans-serif";">I apologize if this double posts, my other mail clie=
nt seems a bit finicky.<br><br>P T Withington</span> <span style=3D"font-si=
ze: 11pt; font-family: "Calibri","sans-serif";">wrote:<=
br>
<br></span><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3Dutf-8"><meta name=3D"ProgId" content=3D"Word.Document"><meta name=3D"Gen=
erator" content=3D"Microsoft Word 12"><meta name=3D"Originator" content=3D"=
Microsoft Word 12"><link rel=3D"File-List" href=3D"file:///C:%5CDOCUME%7E1%=
5CMichael%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><lin=
k rel=3D"themeData" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%=
5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel=3D"colorSchemeM=
apping" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%5CTemp%5Cmso=
htmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610611985 1073750091 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
font-family:Consolas;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Plain Text";
mso-ansi-font-size:10.5pt;
mso-bidi-font-size:10.5pt;
font-family:Consolas;
mso-ascii-font-family:Consolas;
mso-hansi-font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<p class=3D"MsoPlainText">> Assuming we're allowed to speculate on f=
utures here...</p>
<p class=3D"MsoPlainText">> <br></p>
<p class=3D"MsoPlainText">> I was thinking about improving debug-ability=
by adding
descriptive names to function expressions thusly,</p>
<p class=3D"MsoPlainText">> <br></p>
<p class=3D"MsoPlainText"><span style=3D"">>=A0=A0 </span>var myFun =3D
function "my description here" (...) { ... };</p>
<p class=3D"MsoPlainText">> <br></p>
<p class=3D"MsoPlainText">>I.e., be able to use an arbitrary string as t=
he
"name" of a function expression.<span style=3D"">=A0
</span>It seems to me this would be an unambiguous extension, only giving u=
p an
unlikely syntax error.<span style=3D"">=A0 </span>>No runtime is
required to do anything with the name, although it would be encouraged to m=
ake
it available as the .name property of the function object.<span style=3D"">=
=A0 </span>Comments?</p>
<br><br><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Du=
tf-8"><meta name=3D"ProgId" content=3D"Word.Document"><meta name=3D"Generat=
or" content=3D"Microsoft Word 12"><meta name=3D"Originator" content=3D"Micr=
osoft Word 12"><link rel=3D"File-List" href=3D"file:///C:%5CDOCUME%7E1%5CMi=
chael%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link re=
l=3D"themeData" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%5CTe=
mp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel=3D"colorSchemeMappi=
ng" href=3D"file:///C:%5CDOCUME%7E1%5CMichael%5CLOCALS%7E1%5CTemp%5Cmsohtml=
clip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-1610611985 1073750091 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
font-family:Consolas;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Plain Text";
mso-ansi-font-size:10.5pt;
mso-bidi-font-size:10.5pt;
font-family:Consolas;
mso-ascii-font-family:Consolas;
mso-hansi-font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<p class=3D"MsoPlainText">From what I understand arguments.callee is going =
away. If
that is the case, then from within that function how would I call it?</p>
<p class=3D"MsoPlainText">=A0</p>
<p class=3D"MsoPlainText">function "my description here" () {</p>
<p class=3D"MsoPlainText"><span style=3D"">=A0=A0=A0=A0=A0 </span>...</p>
<p class=3D"MsoPlainText"><span style=3D"">=A0=A0=A0=A0=A0 </span>"my
description here"(foo)</p>
<p class=3D"MsoPlainText">};</p>
<p class=3D"MsoPlainText">=A0</p>
<p class=3D"MsoPlainText">That doesn't seem right, but maybe I'm ov=
erlooking
something.</p>
<br>
--001e680f17ac8e825004691a33e0--
More information about the es-discuss
mailing list