UNPKG
relu-core
Version:
latest (2.1.0)
2.1.0
2.0.0
1.0.0
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.3
0.2.2
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.0
Core for bot
github.com/teamperso/RELU-Core
teamperso/RELU-Core
relu-core
/
modules
/
rp
/
lib
/
const.js
18 lines
(13 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var
base =
require
(
"./base"
);
module
.
exports
=
function
rpConst
(
value
) {
var
p =
base
(); p.
constructor
= rpConst; p.
_getUndependend
= p.
_get
=
function
(
) {
return
value; }; p.
isConst
=
function
(
) {
return
true
; }; p.
_writable
=
false
;
return
p; };