Index: branches/REL1_17/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -134,7 +134,7 @@ |
135 | 135 | * @return boolean Existence of key(s) |
136 | 136 | */ |
137 | 137 | Map.prototype.exists = function( selection ) { |
138 | | - if ( typeof keys === 'object' ) { |
| 138 | + if ( typeof selection === 'object' ) { |
139 | 139 | for ( var s = 0; s < selection.length; s++ ) { |
140 | 140 | if ( !( selection[s] in this.values ) ) { |
141 | 141 | return false; |