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

测试题:运算符优先级 + new + 原型链 #100

Open
smileyby opened this issue Jun 9, 2021 · 0 comments
Open

测试题:运算符优先级 + new + 原型链 #100

smileyby opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@smileyby
Copy link
Owner

smileyby commented Jun 9, 2021

carbon (2)

运算符优先级

  1. 成员访问/带参数new/函数调用(优先级 => 20) > 无参数new(优先级 => 19)
  2. 优先级相同,从左到右;优先级不同,谁优先级大,先执行谁
@smileyby smileyby added the 测试题 💫 测试题 label Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant