Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object.assign(this,
- {
- months : [
- ...[]
- .constructor(0xD)
- .keys``
- ]
- .slice(Boolean``)
- .map(key =>
- new Date(
- `${key}`
- .replace(
- /(.*)/g ,
- `${'$&'
- .repeat(~~Math.E)
- .match(/../g)
- }`
- )
- )
- .toLocaleString(
- navigator.language.toLowerCase``,
- ['month long'
- .split(/\s/)]
- .map(
- ([ key, val ]) =>
- ({
- [key] : val
- })
- )
- .pop``)
- )
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement