Looking to generate a list of weeks for the past two months using JavaScript. Any suggestions on how to accomplish this task would be greatly appreciated.
[
{
"week_start": "8/01/2016",
"week_end": "8/06/2016"
}, {
"week_start": "8/07/2016",
"week_end": "8/13/2016"
}, {
"week_start": "8/14/2016",
"week_end": "8/20/2016"
}, {
"week_start": "8/21/2016",
"week_end": "8/27/2016"
}, {
"week_start": "8/28/2016",
"week_end": "9/03/2016"
}, {
"week_start": "9/04/2016",
"week_end": "9/10/2016"
}, {
"week_start": "9/11/2016",
"week_end": "9/17/2016"
}, {
"week_start": "9/18/2016",
"week_end": "9/24/2016"
}, {
"week_start": "9/25/2016",
"week_end": "10/01/2016"
}, {
"week_start": "10/02/2016",
"week_end": "10/08/2016"
}
]