diff --git a/boa/src/builtins/string/mod.rs b/boa/src/builtins/string/mod.rs index b69487e23f..03e6b2ae99 100644 --- a/boa/src/builtins/string/mod.rs +++ b/boa/src/builtins/string/mod.rs @@ -169,7 +169,6 @@ impl String { .nth(pos as usize) .expect("failed to get utf16 value"); // If there is no element at that index, the result is NaN - // TODO: We currently don't have NaN Ok(Value::from(f64::from(utf16_val))) } diff --git a/boa/src/exec/statement_list.rs b/boa/src/exec/statement_list.rs index f4aedb53e0..2f63d5eea6 100644 --- a/boa/src/exec/statement_list.rs +++ b/boa/src/exec/statement_list.rs @@ -22,13 +22,10 @@ impl Executable for StatementList { break; } InterpreterState::Break(_label) => { - // TODO, break to a label. - // Early break. break; } InterpreterState::Continue(_label) => { - // TODO, continue to a label. break; } InterpreterState::Executing => {