Javascript | Easy
\n\nvar countTime = function(time) {\n  let hrChoices = 1;\n  if (time[0] == \'?\' && time[1] == \'?\') {\n    hrChoices = 24;\n  } else if (time[0] == \'?\') {
```\n\nvar countTime = function(time) {\n  let hrChoices = 1;\n  if (time[0] == \'?\' && time[1] == \'?\') {\n    hrChoices = 24;\n  } else if (time[0] == \'?\') {\n    hrChoices = time[1] <= \'3\' ? 3 : 2;\n  } else if (time[1] == \'?\') {\n    hrChoices = time[0] == \'2\' ? 4 : 10;\n  }\n\n  let minChoices = 1\n\n  if (time[3] == \'?\' && time[4] == \'?\') {\n    minChoices = 60;\n  } else if (time[3] == \'?\') {\n    minChoices = 6;\n  } else if (time[4] == \'?\') {\n    minChoices = 10;\n  }\n\n  return hrChoices * minChoices;\n};\n```
['JavaScript']