JavaScript V8 Custom Invocation Error

Revision en1, by NOxBODY, 2020-10-19 11:51:23

Hello Everyone!

I was trying to write a solution in JavaScript V8 and test it in the Custom Invocation section before submitting. Unfortunately I was getting "TypeError" on invocation of string methods for the string returned by readline().

I submitted the same code later and got "Accepted"!

If I have understood anything wrong please correct me, else I am expecting this to be figured out soon.

Thank you very much.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English NOxBODY 2020-12-01 15:11:01 7
en4 English NOxBODY 2020-12-01 14:56:52 347 Trailing Backslash included
en3 English NOxBODY 2020-10-20 09:08:03 592 The reason and solution of the possible mistake has been added.
en2 English NOxBODY 2020-10-19 11:54:17 0 (published)
en1 English NOxBODY 2020-10-19 11:51:23 614 Initial revision (saved to drafts)