How to check the entered javascript code on the site? Example from http://www.codewars.com/

The bottom line is that a person enters a code in the window and I need to check it when I press the button, and then get the result if the code is entered correctly))

I have already tried jasmine and qUnit - tests could be carried out, but I still can’t understand how I can take the code from the window into which they enter the code and check it, and then understand whether the code is entered correctly in the window, and this is the only way to solve the problem not. codewars

  • perform tests on the server. - zb '24
  • Thanks for the answer! I 'll try - Sergey Sirenko

0