Browse Source

remove deprecated comments (#754)

pull/765/head
Jason Williams 4 years ago committed by GitHub
parent
commit
07ff7a8d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      boa/src/builtins/string/mod.rs
  2. 3
      boa/src/exec/statement_list.rs

1
boa/src/builtins/string/mod.rs

@ -169,7 +169,6 @@ impl String {
.nth(pos as usize) .nth(pos as usize)
.expect("failed to get utf16 value"); .expect("failed to get utf16 value");
// If there is no element at that index, the result is NaN // 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))) Ok(Value::from(f64::from(utf16_val)))
} }

3
boa/src/exec/statement_list.rs

@ -22,13 +22,10 @@ impl Executable for StatementList {
break; break;
} }
InterpreterState::Break(_label) => { InterpreterState::Break(_label) => {
// TODO, break to a label.
// Early break. // Early break.
break; break;
} }
InterpreterState::Continue(_label) => { InterpreterState::Continue(_label) => {
// TODO, continue to a label.
break; break;
} }
InterpreterState::Executing => { InterpreterState::Executing => {

Loading…
Cancel
Save