diff --git a/Libraries/LibJS/Print.cpp b/Libraries/LibJS/Print.cpp index f0dc6fd8016..66aacd7987a 100644 --- a/Libraries/LibJS/Print.cpp +++ b/Libraries/LibJS/Print.cpp @@ -468,7 +468,8 @@ ErrorOr print_typed_array(JS::PrintContext& print_context, JS::TypedArrayB TRY(print_value(print_context, JS::Value(JS::typed_array_byte_length(typed_array_record)), seen_objects)); TRY(js_out(print_context, "\n")); - // FIXME: This kinda sucks. + // FIXME: Find a better way to print typed arrays to the console. + // The current solution is limited to 100 lines, is hard to read, and hampers debugging. #define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \ if (is(typed_array_base)) { \ TRY(js_out(print_context, "[ ")); \