d2 = new Date(d1)
d3 = new Date(d1.getTime())
d1.getTime() === d2.getTime()
d1.valueOf() === d3.valueOf()
https://stackoverflow.com/questions/1090815/how-to-clone-a-date-object/11051108#11051108
https://stackoverflow.com/questions/7244513/javascript-date-comparisons-dont-equal
댓글 없음:
댓글 쓰기