Ответ 1
Вы должны посмотреть все видео, он объясняет это на позже в видео.
function constructor(spec) {
let {member} = spec,
{other} = other_constructor(spec),
method = function () {
// accesses member, other, method, spec
};
return Object.freeze({
method,
other
});
}
Это раскрытие шаблона модуля, возвращающее замороженный объект.