I'm very new to programming and have been a bit shy when it comes to asking for help....to be honest, I get intimidated by how fast others can figure something out, so for those of you that are in the category, I was hoping you could help me out with a homework question. I Don't know where to begin or write the pseudocode, but if you can guide me or give me a response with details of the why and how, I'd owe you a huge debt. Here's the problem: 

we define the following operations on a string: 

left shifts: a single circular rotation of the string in which the first character becomes the last 
character and all other characters are shifted one index to the left. For example, bcdea becomes 
cdeab after a left shift.

right shifts: same as above but in reverse, the last character becomes the first. 

the following parameters:
s: string to shift
left shift: integer
right shift: integer

constraints:

> 
> 1 <= s <= 10^5  
> 
>  0 <= leftshifts, rightshifts <= 10^9
> 
> 
> 

```
function getShiftedString(s, leftShifts, rightShifts) {
}

```