« first day (3577 days earlier)      last day (1365 days later) » 

12:55 AM
What's the difference between +42n, Number(42n), new Number(42n), & Number.parseFloat(42n)?
 
1:37 AM
||> console.log(+42n, Number(42n), new Number(42n), Number.parseFloat(42n))
JAMES!
ahhhhhhhh
||> console.log(+42n, Number(42n), new Number(42n), Number.parseFloat(42n))
 
@JBis "TypeError: Cannot convert a BigInt value to a number" Logged: `` Took: 31ms
 
 
2 hours later…
3:41 AM
One of the few things Trump has planned to do that I fully support. Hopefully, he will follow through. Trump says he will ban TikTok through executive action as soon as Saturday
 
 
3 hours later…
6:56 AM
@JBis XD
@JBis
Not necessarily the evaluated difference, but rather their semantic meanings and why they're all features that practically do the same thing
+ seems to implicitly convert an object into a Number (maybe without using the Number constructor)
Number() seems to explicitly convert an object into a Number
new Number() seems to construct a new object with the Number prototype
Number.parseFloat() seems to create a Number from any object
The problem is, if I was (for example) converting a BigInt to a Number. What's the right way to go about it?
Why are there different features that do the exact same thing, rather than having a clearly unique semantic meaning to them?
(Number() just raises a TypeError in the example apparently)
 
@Lapys "ReferenceError: performance is not defined" Logged: `` Took: 0ms
 
What version of JavaScript are you running, mate @JamesBot?
 
7:27 AM
Hello, does anyone use TypeOrm in here?
 
@DavidePugliese 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.
 
 
4 hours later…
11:01 AM
jqplay.org/s/risDCfxm5j how can i modify the original json and not create a new one with every iteration ?
 
11:46 AM
In firebase, where can we see the 'outbound traffic' usage? Functions usage history doesn't display it.
 
 
3 hours later…
2:46 PM
I am trying to print select in multiple drop-down list, but prints only two words(CHENNAI AND IOS-XE , BANGALORE AND IOS-XR) could not print the remaining words Can anyone help me fix this?

Required Output :

if i select CHENNAI+IOS-XE ---> output : CHENNAI AND IOS-XE

else if BANGALORE+IOS-XR ---> output : BANGALORE AND IOS-XR

else if CHENNAI+IOS-XR ---> output : CHENNAI AND IOS-XR

else if BANGALORE+IOS-XE ---> output : BANGALORE AND IOS-XE


Code :

<html>
<body>
<p>SELECT THE REGION </p>
<select id="choose">
 
@pragalathmsp 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.
 
@Lapys James runs the pure JS. preformance api is a web api.
 
 
1 hour later…
4:06 PM
room looks even deader than usual :D
 
 
1 hour later…
5:32 PM
@BenjaminGruenbaum meh its the weekend, always pretty dead
anyway o/
 
 
2 hours later…
8:02 PM
Xo
 

« first day (3577 days earlier)      last day (1365 days later) »