I think it depends on what you're aiming for. If you just want to make Javascript work on some sales page, it's probably enough to just be able to type and spend some time learning.
If you want to write the next Facebook, Pokemon Go, or Visual Studio, then no, it's not enough to just be able to type. There's a lot of planning and logic involved in them that isn't obvious to non-programmers and non-logical people just don't have the aptitude for.
If you want to write the next Facebook, Pokemon Go, or Visual Studio, then no, it's not enough to just be able to type. There's a lot of planning and logic involved in them that isn't obvious to non-programmers and non-logical people just don't have the aptitude for.