Changeset e29cc2e for trip-planner-front/node_modules/cookie/index.js
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/cookie/index.js
r59329aa re29cc2e 121 121 if (null != opt.maxAge) { 122 122 var maxAge = opt.maxAge - 0; 123 124 if (isNaN(maxAge) || !isFinite(maxAge)) { 125 throw new TypeError('option maxAge is invalid') 126 } 127 123 if (isNaN(maxAge)) throw new Error('maxAge should be a Number'); 128 124 str += '; Max-Age=' + Math.floor(maxAge); 129 125 }
Note:
See TracChangeset
for help on using the changeset viewer.