A TypeScript developer is asked to add tracking code that logs all user keystrokes without the user's knowledge. The professional response is to:
-
A
Implement it using an obfuscated module
-
B
Refuse and escalate the ethical concern to management or legal
-
C
Implement it only in the production build
-
D
Add it behind an undocumented feature flag