ladybird/Userland/Libraries/LibJS/Tests/builtins/Number/Number.parseInt.js
Luke 02de3cbce3 LibJS: Add Number.parseInt
This is initialized to be the same function object as the initial value
of the parseInt function on the global object.
2021-06-18 10:29:33 +01:00

5 lines
195 B
JavaScript

test("basic functionality", () => {
// Ensuring it's the same function as the global
// parseInt() is enough as that already has tests :^)
expect(Number.parseInt).toBe(parseInt);
});