Open habeshongo opened 1 year ago
I am trying to complete javascripting exercise 4 - calculating string lengths.
For some reason terminal does not understand the command const or . length. Whenever I try to use either, I get an error.
You need to type:
touch string-length.js
As the instructions say, and then open the 'string-length.js' and add those lines. You are inputting javascript into the terminal, that won't work.
Notes
I am trying to complete javascripting exercise 4 - calculating string lengths.
For some reason terminal does not understand the command const or . length. Whenever I try to use either, I get an error.