The incident occurred Tuesday night. Police said officers chased down a suspect, who was eventually taken into custody.
Los Angeles police said investigators found the knife used in the attack.
Paramedics took the victim to an emergency room for treatment for his wounds.