Files
NapCatQQ/.pnpm-store/v3/files/29/ebfb32298c86d68afdb4dfb3c791fe31462b980c4335d388cd13e6c9c60d764fcc19e6918980099535750a51bbbd89ebb27b8714fdefba7023e76e81c136c2
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

16 lines
320 B
Plaintext

'use strict';
var callBound = require('call-bound');
var $NumberValueOf = callBound('Number.prototype.valueOf');
// https://262.ecma-international.org/15.0/#sec-thisnumbervalue
module.exports = function ThisNumberValue(value) {
if (typeof value === 'number') {
return value;
}
return $NumberValueOf(value);
};