UNPKG
php.js
Version:
latest (0.1.1)
0.1.1
0.1.0
Use phpjs functions as required.
php.js
/
getrandmax.js
10 lines
(8 loc)
•
270 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
module
.
exports
=
function
(
){
return
getrandmax.
apply
(
exports
,
arguments
) };
function
getrandmax
(
) {
// discuss at: http://phpjs.org/functions/getrandmax/
// original by: Onno Marsman
// example 1: getrandmax();
// returns 1: 2147483647
return
2147483647
; }