Skip to content

Commit 01b1bbe

Browse files
harsha509shs96c
authored andcommitted
Update locators.js (#7810)
Modify: updated jsdoc for object return
1 parent ec05ff0 commit 01b1bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/atoms/locators/locators.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ bot.locators.add = function(name, strategy) {
9494
* Object.prototype, if any exists.
9595
*
9696
* @param {Object} target The object to pick a key from.
97-
* @return {string?} The key or null if the object is empty.
97+
* @return {?string} The key or null if the object is empty.
9898
*/
9999
bot.locators.getOnlyKey = function(target) {
100100
for (var k in target) {

0 commit comments

Comments
 (0)