Skip to content

Conversation

@khsousi
Copy link

@khsousi khsousi commented Jul 28, 2025

No description provided.

Copy link
Contributor

@sarah-abu-zeineh sarah-abu-zeineh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the code based on the suggestion I gave it to u.

Comment on lines 58 to 60
function logLanguageInfo(getter) {
console.log(getter.bind(translator)())
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, u had to use call here


// simulateInputChange(formHandler.onChange); ====> initial

simulateInputChange(value => formHandler.onChange(value))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its nice from u to use the arrow function, so use bind as another solution here and explain why it could work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants