It is not at the same level, you need a bignum library to make JS do even correct math, which is something a programming language should be able to do on its own. JS shouldn't be called a programming language but a scripting anomaly.
function ($arg) use ($capturedVariable) {
return 1;
}
I rest my case.