Files
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

27 lines
600 B
JavaScript

'use strict';
var $TypeError = require('es-errors/type');
var ToIntegerOrInfinity = require('./ToIntegerOrInfinity');
var isNaN = require('math-intrinsics/isNaN');
// https://262.ecma-international.org/15.0/#sec-makefullyear
module.exports = function MakeFullYear(year) {
if (typeof year !== 'number') {
throw new $TypeError('Assertion failed: `year` must be a Number');
}
if (isNaN(year)) {
return NaN; // step 1
}
var truncated = ToIntegerOrInfinity(year); // step 2
if (0 <= truncated && truncated <= 99) {
return 1900 + truncated; // step 3
}
return truncated; // step 4
};