Check if the given time is the correct time representations in 24-oclock

后端 未结 0 712
长情又很酷
长情又很酷 2020-12-14 03:01

const validTime = (str)=> {

//write the code here.

}

Example:

For time = \'13:56\' the output validTime(time) = true

F

相关标签:
回答
  • 消灭零回复
提交回复
热议问题