Skip to content

Commit

Permalink
Fix the variable names post-rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfijalkowski committed Oct 29, 2020
1 parent 5b4a973 commit c0e02d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa/src/builtins/array/mod.rs
Expand Up @@ -951,11 +951,11 @@ impl Array {
let len = this.get_field("length").to_length(context)? as isize;

let start = match args.get(0) {
Some(v) => v.to_integer(interpreter)?,
Some(v) => v.to_integer(context)?,
None => 0.0,
};
let end = match args.get(1) {
Some(v) => v.to_integer(interpreter)?,
Some(v) => v.to_integer(context)?,
None => len as f64,
};

Expand Down

0 comments on commit c0e02d6

Please sign in to comment.