Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Better copy & paste of array:
- [
- "2019-12-03",
- "2019-12-02",
- "2019-12-01"
- ]
- Code:
- sorteddaystoshow.sort();
- var from = sorteddaystoshow[0];
- var to = sorteddaystoshow[1];
- if (options.order === report_plugins.consts.ORDER_NEWESTONTOP) {
- sorteddaystoshow.reverse();
- }
- console.warn(loadeddays, sorteddaystoshow.length, sorteddaystoshow, from, to);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement