Date.prototype.toLocaleTimeString() Lab

In this lab, you have to work with the Date.prototype.toLocaleTimeString() method to format the current local time. You will create a function called formatCurrentTime that returns the current local time as a string in the 'hh:mm

' format. Additionally, you have to create an array called multipleFormattedTimes that contains three formatted local times that are at least 1 second apart from each other. Use ESM syntax for this lab.

Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser