Date.prototype.toLocaleTimeString() exploration
Medium
60.0% Acceptance
In this lab, you will be working with JavaScript's Date.prototype.toLocaleTimeString()
method. This method returns a string with a representation of the time portion of a Date object, formatted according to the given locale and formatting options. You'll be using this method to create a custom display of the local time.