0
submitted 7 months ago* (last edited 7 months ago) by amargo@karab.in to c/shell@programming.dev

If you have the answer please leave it here in the comments #javascript #php #programming

top 1 comments
sorted by: hot top controversial new old
[-] Nommer@sh.itjust.works 3 points 7 months ago

I'm new so I'm probably wrong but it'll give an error. Counter was never initilized. But assuming it was and set to 0 I believe what this does is add rows of 8 numbers to the grid list. I've never used console.table before but it looks like it'll take a list and display it at a table.

No idea how close I am, but this was fun to take a try as a beginner.

this post was submitted on 21 Dec 2023
0 points (50.0% liked)

Shell Scripting

1169 readers
1 users here now

From Ash, Bash and Csh to Xonsh, Ysh and Zsh; all shell languages are welcome here!

Rules:
  1. Follow Lemmy rules!
  2. Posts must relate to shell scripting. (See bottom of sidebar for more information.)
  3. Only make helpful replies to questions. This is not the place for low effort joke answers.
  4. No discussion about piracy or hacking.
  5. If you find a solution to your problem by other means, please take your time to write down the steps you used to solve your problem in the original post. You can potentially help others having the same problem!
  6. These rules will change as the community grows.

Keep posts about shell scripting! Here are some guidelines to help:


In general, if your submission text is primarily shell code, then it is welcome here!

founded 1 year ago
MODERATORS