Trying to read the documentation, but can't seem to find what, if anything, is the difference between these. They all seem to accept the same parameters and locales, and they seem to return the same values.
Are they just aliases of the same function? Or is there actually a difference between them?
const locale = 'no-nb'
const options = {
day: '2-digit', month: 'long',
hour: '2-digit', minute: '2-digit'
}
new Date().toLocaleString(locale, options)
"18. mai, 15"
new Date().toLocaleDateString(locale, options)
"18. mai, 15"
new Date().toLocaleTimeString(locale, options)
"18. mai, 15"