Python Right Shift Function Javascript Example