This example succeeds, even though useless is not a valid option. Even though this is pretty typical for JS libraries, its wrong here just as it is elsewhere. This particular issue is particularly problematic since the argument default has apparently been renamed to defaultValue so specifying an incorrect option default is silently ignored.
This example succeeds, even though
useless
is not a valid option. Even though this is pretty typical for JS libraries, its wrong here just as it is elsewhere. This particular issue is particularly problematic since the argumentdefault
has apparently been renamed todefaultValue
so specifying an incorrect optiondefault
is silently ignored.