« first day (3661 days earlier)      last day (1270 days later) » 

1:04 AM
Hello guys, I am trying to add the edit function into a todo list made with JS, but is not working, I can paste the current code here if it's allowed
 
@Albi 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.
 
 
5 hours later…
5:49 AM
hey all
const { RTCPeerConnection, RTCSessionDescription } = window;
can some1 explain what this code does?
 
 
11 hours later…
4:25 PM
|| mdn object destructuring
 
@SandrinJoy ^
 
 
3 hours later…
7:54 PM
some guys do math?
I have a Circle, a rotating wheel.. with 8 elements

360/8 = 45°. each elements is positioned on the multiple of 45 degrees
when I rotate the wheel wildly, maybe it lands on for example 48° .. how can I find out what is the nearst x*45 to that position? (in this case the nearst rotation is 45)
min(myList, key=lambda x:abs(x-myNumber)) in python
myList are the given numbers multipliers of 45
ok I did it : )
Math.min(...list.map(x=> Math.abs(d-x)))
 

« first day (3661 days earlier)      last day (1270 days later) »