File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ ThrowCompletionOr<Value> Console::assert_()
6767 else {
6868 // 1. Let first be data[0].
6969 auto & first = data[0 ];
70- // 2. If Type( first) is not String, then prepend message to data.
70+ // 2. If first is not a String, then prepend message to data.
7171 if (!first.is_string ()) {
7272 data.prepend (message);
7373 }
@@ -858,7 +858,7 @@ ThrowCompletionOr<MarkedVector<Value>> ConsoleClient::formatter(MarkedVector<Val
858858 }
859859 // 2. If specifier is %d or %i:
860860 else if (specifier.is_one_of (" %d" sv, " %i" sv)) {
861- // 1. If Type( current) is Symbol, let converted be NaN
861+ // 1. If current is a Symbol, let converted be NaN
862862 if (current.is_symbol ()) {
863863 converted = js_nan ();
864864 }
@@ -869,7 +869,7 @@ ThrowCompletionOr<MarkedVector<Value>> ConsoleClient::formatter(MarkedVector<Val
869869 }
870870 // 3. If specifier is %f:
871871 else if (specifier == " %f" sv) {
872- // 1. If Type( current) is Symbol, let converted be NaN
872+ // 1. If current is a Symbol, let converted be NaN
873873 if (current.is_symbol ()) {
874874 converted = js_nan ();
875875 }
You can’t perform that action at this time.
0 commit comments