Skip to content
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

偏门js面试题又一道 #50

hax opened this issue Nov 29, 2019 · 1 comment


Copy link

@hax hax commented Nov 29, 2019


'use strict'
var o1 = {
  f: function () {}
var o2 = {
  f() {}

请问 o1.fo2.f 有哪些差异。


This comment has been minimized.

Copy link

@Hugo-seth Hugo-seth commented Dec 1, 2019

知道一点区别是,o2.f 可以使用 super,而 o1.f 则不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.