fixed console documentation example