JavaScript JavaScript Basics Working with Strings Combine and Manipulate Strings

Juan Pablo Castrillon
Juan Pablo Castrillon
789 Points

I keep getting "cannot read property '1' of null.

I think my code is correct but I keep getting the error. Any help?

app.js
let firstName;
let lastName;
let role = 'developer';
let firstName = 'JP';
let lastName = 'Castrillon';

1 Answer

Stefan Caky
seal-mask
.a{fill-rule:evenodd;}techdegree
Stefan Caky
Full Stack JavaScript Techdegree Student 8,227 Points

Hi. Could you please attach any code where you get cannot read property '1' of null? Because what you attached is only defined variables. Thank you :)