logic like if last time was before current time for 5 minutes do something in momentJs ?
MomentJS is deprecated. Keep that in mind when using it in your next project. In either case, your question is about how to go about writing down the logic, not about MomentJS.
Обсуждают сегодня