|
@@ -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);
|