projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
is-redirect
/
index.js
1
'use strict';
2
module.exports = function (x) {
3
if (typeof x !== 'number') {
4
throw new TypeError('Expected a number');
5
}
6
7
return x === 300 ||
8
x === 301 ||
9
x === 302 ||
10
x === 303 ||
11
x === 305 ||
12
x === 307 ||
13
x === 308;
14
};