Ad
  • Default User Avatar

    Yes. I always get the same answer when I run in repl.it : 'A triceratops is eating something.' Here though, I do pass the initial test thought that asks for 'Somethng is eating leaves.' I am very confused. If I understood if there was a hierachy, like animal bite marks take presidence of food type or vice versa.

    https://repl.it/@listenToRipley/dinos#index.js

  • Custom User Avatar

    For Javascript; I feel like it's asking for two different outputs for the same into and I am loosing it a little. I've passed all my tests but one: Expected: 'A triceratops is eating something.', instead got: 'Something is eating leaves.', the weird thing is one of the tests is console.log('10 :',lunchTime("|||uuVuu|||")) which is expect to have 'Something is eating leaves.' Of course though when I test my code in Repl.it, it get the expected output. Started to feel like there is a bug in the test. Anyone have any ideas of what I am doing wrong?