&& registered as "Unexpected token" in Javascript

&& works in all of my other scripts, but it isn’t working here. I feel like I might be doing something wrong. I am still kind of new to Unity. Pressing Left Shift makes the player run, but I want the the player to be forced to walk when the tired variable is 1, which happens when energy<=25. The tired variable is located in the Player_stats script.
Thank you for your help

if (Input.GetKey("left shift")) && GetComponent(Player_stats).tired = 0{
        speed = runSpeed;
}

if (Input.GetKey(“left shift”) && GetComponent(Player_stats).tired == 0){
speed = runSpeed;
}