« first day (3788 days earlier)      last day (1143 days later) » 

6:56 AM
hello all, I have a bit of a broad question, so I thought I would ask chat
 
@python_user Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
thanks bot :D, I want to replace all the names in a site (eg reddit) with something like "Anonymous", so I want to know if JS is the tool for this job?
so any reddit page I open, the /u/username for all users will be changed to /u/anonymous, I am ok with the hyperlinks pointing to the original usernames, just the text should be changed
 
7:31 AM
Didn't know that I can mention opacity in hex code as RRGGBBAA in css. AA varies from 00 to FE. if it's FF, you can omit it.
I used rgba instead of hex code if I've to add opacity in the past.
 
8:09 AM
@SanchitKumar Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
set it to false — Software Engineer 38 mins ago
I am trying to open multiple images simultaneously in the default Windows Photo Viewer that I have stored in my folder using the npm open library:
 
@SanchitKumar Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
 
let files = ['Dog.gif', 'Cat.jpeg'];
for(let i=0; i<files.length; i++){
  open(`${files[i]}`, {wait:true});
}
 
1 message moved to Trash can
 
 
4 hours later…
12:14 PM
Are string-typed numbers less memory consuming than these same numbers in their original form?
 
1:00 PM
@makadev This can't be the correct syntax?
And what's recommended, function Dashboard({ui}) {... or const Dashboard = ({ui}) => {...? (and why?)
 
1:32 PM
@Markus Ye, no. It is not, probably should have been const Dashboard = ({ui}) => <div>{ui}</div>.. dunno, was already late.
 
and how about the other question? :)
 
About what to use in general thought, arrow functions or "normal" ones.. it's one part semantics and one part style..
 
honestly I kind of like the arrow function better (don't know why) but all example on the react doc seems to be normal functions... so maybe I better stick to that.
 
seeing this reactjs.org/docs/hooks-effect.html f.e. might be a good style
using function at file level, f.e. with export function Componten({arg}) {return <>}
and arrow functions inside
 
2:10 PM
mm
 
 
2 hours later…
3:49 PM
hi there
I need little help of js
 
 
5 hours later…
8:50 PM
@SterlingArcher you around m8?
 

« first day (3788 days earlier)      last day (1143 days later) »