5 kyu

NSA Phone Tapping

Description
Loading description...
Fundamentals
Object-oriented Programming
  • Please sign in or sign up to leave a comment.
  • trashy_incel Avatar

    JavaScript fork (author inactive)

    • enabling Node v18.0+
    • using chai assertions
    • better markdown in the description
    • using modern JS features such as class and const, including in the initial code
  • Vikto0004 Avatar

    Cool, find out what I'm doing wrong... Expected: 'Dan called Mark from Dan's phone(202-555-0199)', instead got: 'Dan called Mark from Dan's phone (202-555-0199)'

  • jeffvwei Avatar

    Good kata but I cannot pass 2 tests in the text section. It is failing me for Alex texting Dan because I'm returning 2 lines, the requested Alex-> Dan text and a Erin -> Dan text. I'm then also failing a test that is looking for Erin-> Dan but is never run on my end? I'm returning No Entries for the Erin->Dan one because I already logged it above

  • dmitriyshin.io Avatar

    Really Great Practice For Linked Lists!


    Thank You!

  • JoMarques09 Avatar

    Expected: 'Dan texted Mark from Alex's phone(202-555-0166)\nDan texted Erin from Alex's phone(202-555-0166)\nDan texted Anthony from Alex's phone(202-555-0166)', instead got: 'Dan texted Mark from Alex's phone(202-555-0166)'

    Can't pass this test. Tried my code on jsfiddle and it works!

  • rjbernaldo Avatar

    +1 for making this kata fun. I wish more challenges had this kind of game-like description/objective.

    Thank you!

  • Jay-A-McBee Avatar

    I'm having the same problem as i_romanenko--answers look identical, but I can't get it to pass the basic test or the last three submission tests.

    Any help would be appreciated

  • i_romanenko Avatar

    Expected: Dan called Mark from Dan's phone(202-555-0199), instead got: Dan called Mark from Dan's phone(202-555-0199)

    I'm not passing the test cases with this result... :) this looks really weird to me :)

  • wthit56 Avatar

    Nice kata. Has some complexity, but not unreasonbly so. Well done.

  • jacobb Avatar

    Good simple kata that forces someone to make their own decisions on the implementation.

  • IllusionMH Avatar

    Why methods in initial code are assigned to funtion and not prototype? Nice description but example for texting is missing.

  • fedefrancescon Avatar

    In the description cellphone object is assumed to be an object with tho strings: owner and number. Owner is not a string but a Person instance.