mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
load("test-common.js");
|
|
|
|
try {
|
|
// Ensuring it's the same function as the global
|
|
// parseFloat() is enough as that already has tests :^)
|
|
assert(Number.parseFloat === parseFloat);
|
|
|
|
console.log("PASS");
|
|
} catch (e) {
|
|
console.log("FAIL: " + e);
|
|
}
|