Skip to content

Commit 935e68f

Browse files
author
Jesse Hood
committed
modified this.js (was passing in me.password as the password instead of the actual password)
1 parent 833fbe0 commit 935e68f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/this.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const checkPassword = function comparePasswords(passwordToCompare) {
4141
// use .call, .apply, and .bind
4242

4343
// .call
44-
checkPassword.call(me, me.password);
44+
checkPassword.call(me, 'correcthorsebatterystaple');
4545
// .apply
46-
checkPassword.apply(me, [me.password]);
46+
checkPassword.apply(me, ['correcthorsebatterystaple']);
4747
// .bind
48-
checkPassword.bind(me, me.password)();
48+
checkPassword.bind(me, 'correcthorsebatterystaple')();

0 commit comments

Comments
 (0)