getting nan when calculate two date js

Solutions on MaxInterview for getting nan when calculate two date js by the best coders in the world