Skip to content

偏门js面试题又一道 #50

Description

@hax

这次的题目是这样的:

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

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions