I am confused by this function:
const today = ( d => new Date() )(new Date);
So I am not sure where to read about this and I am not sure what this is even called. So I apologize for the terrible question title. Anyways, I am confused as to what the (new Date)
is doing at the end of the function here. Can someone point me to a reference to what is happening here or explain it to me.
I understand the new Date()
mumbo jumbo. It is really just the purpose and functionality of (new Date)
at the end that is tripping me up.