On the @param wiki page :
If a parameter is unstructured without an explicit name, you can give the object an appropriate one and document its properties.
Documentation of a destructuring parameter
Project.prototype.assign = function({ name, department }) {
};
source
share