mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +00:00
LibJS: Fix BooleanPrototype build
This commit is contained in:
parent
e983c745f7
commit
cbecb23e1d
1 changed files with 2 additions and 1 deletions
|
@ -26,12 +26,13 @@
|
||||||
|
|
||||||
#include <AK/Function.h>
|
#include <AK/Function.h>
|
||||||
#include <LibJS/Interpreter.h>
|
#include <LibJS/Interpreter.h>
|
||||||
|
#include <LibJS/Runtime/BooleanObject.h>
|
||||||
#include <LibJS/Runtime/BooleanPrototype.h>
|
#include <LibJS/Runtime/BooleanPrototype.h>
|
||||||
#include <LibJS/Runtime/Error.h>
|
#include <LibJS/Runtime/Error.h>
|
||||||
|
|
||||||
namespace JS {
|
namespace JS {
|
||||||
|
|
||||||
BooleanPrototype::BooleanPrototype()
|
BooleanPrototype::BooleanPrototype()
|
||||||
: BooleanObject(false)
|
|
||||||
{
|
{
|
||||||
put_native_function("toString", to_string);
|
put_native_function("toString", to_string);
|
||||||
put_native_function("valueOf", value_of);
|
put_native_function("valueOf", value_of);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue