Restricted Access to Salesforce Global Variables
Lightning Locker blocks access to some global JavaScript objects that are available to other Salesforce features.
Lightning web components don't have access to:
$A
Aura
Sfdc
sforce
Locker restricts access to these objects for Lightning web components because they are either deprecated or would lead to cross-framework dependencies.