Weird behavior in JavaScript
- Hidden
-
Hidden
- Member since: Sep. 30, 2001
- Offline.
-
- Forum Stats
- Member
- Level 07
- Blank Slate
In a script I was writing I could not get it to work if I left the 'n' in the name of a function 'getExpression'. If I dropped it or changed the 'n' to a different letter, it worked. It was spelled exactly the same where I defined it and where I was trying to call it.
Has anyone else had something like this happen?
- liljim
-
liljim
- Member since: Dec. 16, 1999
- Offline.
-
- Send Private Message
- Browse All Posts (11,644)
- Block
-
- Forum Stats
- Staff
- Level 28
- Blank Slate
At 5/28/02 12:36 AM, Hidden wrote: In a script I was writing I could not get it to work if I left the 'n' in the name of a function 'getExpression'. If I dropped it or changed the 'n' to a different letter, it worked. It was spelled exactly the same where I defined it and where I was trying to call it.
Has anyone else had something like this happen?
Is this a function you were writing yourself? If so, here's why it's failing.
- Hidden
-
Hidden
- Member since: Sep. 30, 2001
- Offline.
-
- Forum Stats
- Member
- Level 07
- Blank Slate
At 5/28/02 06:44 PM, liljim wrote:At 5/28/02 12:36 AM, Hidden wrote: In a script I was writing I could not get it to work if I left the 'n' in the name of a function 'getExpression'. If I dropped it or changed the 'n' to a different letter, it worked. It was spelled exactly the same where I defined it and where I was trying to call it.Is this a function you were writing yourself? If so, here's why it's failing.
Has anyone else had something like this happen?
Oh, ok. Thanks!

