# Introduction In this lab, we will explore how to retrieve the name of the weekday from a given date object using JavaScript. We will use the `Date.prototype.toLocaleDateString()` method with the `{ weekday: 'long' }` option to get the weekday name. Additionally, we can specify a language-specific name using the optional second argument or use the default locale.
Click the virtual machine below to start practicing