LibJS: Fix BooleanPrototype build

This commit is contained in:
Andreas Kling 2020-04-09 14:29:57 +02:00
parent e983c745f7
commit cbecb23e1d
Notes: sideshowbarker 2024-07-19 07:46:56 +09:00

View file

@ -26,12 +26,13 @@
#include <AK/Function.h>
#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/BooleanObject.h>
#include <LibJS/Runtime/BooleanPrototype.h>
#include <LibJS/Runtime/Error.h>
namespace JS {
BooleanPrototype::BooleanPrototype()
: BooleanObject(false)
{
put_native_function("toString", to_string);
put_native_function("valueOf", value_of);