Hello I am trying to implement automated test scripts using NewRelic. I am engineering javascript such that I print the last character of a field on the page that is always 8 characters. I have this:
var last_character=page_value.charAt(8);
console.log('test last_character='+last_character)
but it only prints 'test last_character='! Is this a javascript variable scoping issue? I have never understood that!
charAt(7)