mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 888399 - Fix missing parenthesis in DebuggerClient.Argument.prototype.getArgument. r=dcamp
This commit is contained in:
parent
0b7b106e1a
commit
d5a5fdd2c5
@ -320,7 +320,7 @@ DebuggerClient.Argument = function DCP(aPosition) {
|
||||
};
|
||||
|
||||
DebuggerClient.Argument.prototype.getArgument = function DCP_getArgument(aParams) {
|
||||
if (!this.position in aParams) {
|
||||
if (!(this.position in aParams)) {
|
||||
throw new Error("Bad index into params: " + this.position);
|
||||
}
|
||||
return aParams[this.position];
|
||||
|
Loading…
Reference in New Issue
Block a user