import requiredArgs from '../_lib/requiredArgs/index' ; import previousDay from '../previousDay/index' ; name category summary description param { Date | number } date returns { Date } throws example export default function previousSunday ( date ) { requiredArgs ( 1 , arguments ) ; return previousDay ( date , 0 ) ; }