Given the task to find common characters of two lines. I would be able to decide if I myself had to enter values into the array. However, the user must enter. And now I do not understand how to do it. When I check the character under the index 1, 2, 3, etc. - displays undefined. Please help with the solution! Cited a simple example below.
var b = 1352254; var c = 1032; var a = [b]; var v = [c]; alert(a[3]);