Open
Description
If we do #60, should we get rid of optional and instead use defaulting as sole mechanism?
[NewObject] Document createHTMLDocument(optional DOMString title);
would become
[NewObject] Document createHTMLDocument(DOMString title = undefined);
and
void observe(Node target, optional MutationObserverInit options = {});
would become
void observe(Node target, MutationObserverInit options = {});
(And if you need to distinguish between not given and undefined you use overloading, as XMLHttpRequest does for open()
.)
Metadata
Metadata
Assignees
Labels
No labels