Assuming you want a SOLID code and keep the single responsibility principle, you would need to inject window and document separately.
確定! 回上一頁