método javascript getday ()

const d = new Date();
d.getDay();
naly moslih