Is there any significant difference between Reflect and Proxy?
From what is documented, it seems that they have pretty much the same capabilities, apart from:
- Reflect being capable of specifying only one trap at the time
- Proxy being revocable
- Proxy being a constructor
If list above sums up all the differences, the what is the rationale for having both?
Aucun commentaire:
Enregistrer un commentaire