If a function exists in `func_list` with a value of 0, then it is expected to be callable with `null` or `undefined` as the first argument //without// throwing an exception.
If a function exists in `noargs_required` then it is expected to be callable with **no** arguments without throwing an exception.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Deuc¿@VERT to GitLab note in main/sbbs on Sat Jan 18 12:26:03 2025
How is that wrong? If the element value is 0, then a caller can call the function with a (single) null/undefined argument. If it's 1, they can't (it'll throw an exception).
Calling with a null/undefined argument is different than calling with no arguments.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
From Deuc¿@VERT to GitLab note in main/sbbs on Sun Jan 19 04:28:23 2025
It translates to "Zero is the number of non-null/undefined args required." Which does not translate to "One is the number of null/undefined args allowed."
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
No nodes active
Recent Visitors
Genalb
Fri Nov 27 22:52:43 2026
from
Slc, Utah
via
Telnet
HZ Tester
Wed Nov 18 04:27:03 2026
from
Test Lab
via
SSH
HZ Tester
Wed Nov 18 04:20:33 2026
from
Test Lab
via
SSH
HZ Tester
Tue Nov 17 13:58:30 2026
from
Test Lab
via
SSH