Returns the number of ISO weeks in a year according to the Gregorian calendar.
Date
year or Date object
number of ISO weeks in a year
var num = isoWeeksInYear(); // returns <number>
var num = isoWeeksInYear( 2015 ); // returns 53
var num = isoWeeksInYear( 2017 ); // returns 52
Returns the number of ISO weeks in a year according to the Gregorian calendar.
Notes
Date
object.