there isn't any classic strategy pattern in JS ...