Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by Norton Alex
at 2025-02-01 21:42:42
Point:500 Replies:3 POST_ID:829295USER_ID:12423
Topic:
javascript;
my html page calling many javascript file, I worry, some function name will be double or over-written by each other. Any method to prevent this .
Please advise;
Expert: Wilson Edwards replied at 2026-04-19 17:10:14
fine3
Accepted Solution
Author: Norton Alex replied at 2025-02-01 21:45:08
500 points Excellent
- <script>
- let ma=function(a){
- this.next=function(e){
- return e*3;
- }
- return a*2;
- };
- const b=1;
- var a=ma(2);
- var c=new ma;
- console.log(ma(2));
- console.log(c.next(7));
- </script>
u can try this code