Skip to content

Conversation

JohnNiang
Copy link

Description of Problem

Wrong comment obj.value as below:

// it will update `obj.value`
count.value++
console.log(count.value) // 2
console.log(obj.count) // 2

Proposed Solution

- // it will update `obj.value`
+ // it will update `obj.count`

Additional Information

Change `obj.value` to `obj.count`.
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

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

@JohnNiang thank you for the fix!

@NataliaTepluhina NataliaTepluhina merged commit c7f5a9e into vuejs:master Feb 1, 2021
@JohnNiang JohnNiang deleted the patch-1 branch February 3, 2021 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants