仪表盘
版本库
文件存储
活动
搜索
登录
productDev
/
jinkuai
近快小程序
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge remote-tracking branch 'origin/master'
rk
2025-09-28
2304d7b140c5c5b4bf3a83f9ced8bff37d20c42e
[productDev/jinkuai.git]
/
h5
/
node_modules
/
core-js
/
internals
/
not-a-regexp.js
1
2
3
4
5
6
7
8
9
10
'use strict';
var isRegExp = require('../internals/is-regexp');
var $TypeError = TypeError;
module.exports = function (it) {
if (isRegExp(it)) {
throw new $TypeError("The method doesn't accept regular expressions");
} return it;
};