AI

Safeguard your app with logic! Use && (AND) and || (OR) to combine conditions.

Your Task:

  • Create a variable hasBasicAccess (true if free OR premium)
  • Create a variable hasAdminAccess (true if admin AND active)
  • Create a variable canModerate (true if (admin OR moderator) AND active)
TypeScript Solution
Loading...

Submit your code to see test results