var dateFormat = require("../lib/dateformat.js");

var val = process.argv[2] || new Date();
console.log(dateFormat(val, "W"));

var dateFormat = require('../lib/dateformat.js');

var val = process.argv[2] || new Date();
console.log(dateFormat(val, 'W'));

Update test_weekofyear.js