G
Gene Wirchenko
Dear JavaScripters:
I want to include some constants for use with my date type. This
is related to my question about toString() parameters.
Should I do
1) Defined in Object
function JustDate()
{
....
this.JDFmtISO8601=1;
this.JDFmtIMA=2;
....
or
2) Defined Outside Object
JDFmtISO8601=1;
JDFmtIMA=2;
function JustDate()
{
....
Does it really matter?
Sincerely,
Gene Wirchenko
I want to include some constants for use with my date type. This
is related to my question about toString() parameters.
Should I do
1) Defined in Object
function JustDate()
{
....
this.JDFmtISO8601=1;
this.JDFmtIMA=2;
....
or
2) Defined Outside Object
JDFmtISO8601=1;
JDFmtIMA=2;
function JustDate()
{
....
Does it really matter?
Sincerely,
Gene Wirchenko