-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【面经】字节跳动 二面9:实现简易版 MVVM #5
Labels
面经
面经
Comments
冒昧的说一句哈 ,看了下题目,如果按照原题目的话,感觉这个您这个有一点点小问题 就是
但是您这个在构造函数中没有把
最后,非常感谢您的面经! |
@anwenyao 你这样理解是对的,当时面试时我也是这个思路。写面经时想尽量简单些,就直接以 显示监听属性后才数据劫持 为基准,如 data.observe("a", callbackObj); data.b; // undefined |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
实现简易版 MVVM
关键词:Object.defineProperty
The text was updated successfully, but these errors were encountered: