JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jan 16 23:02
[] == ![]; what is the evalution of this expression.
Apr 18, 2020 20:39
const {
  Array,
  Boolean,
  Error,
  MathMin,
  NumberIsNaN,
  ObjectCreate,
  ObjectDefineProperty,
  ObjectGetPrototypeOf,
  ObjectSetPrototypeOf,
  Promise,
  PromiseReject,
  PromiseResolve,
  ReflectApply,
  ReflectOwnKeys,
  Symbol,
  SymbolFor,
  SymbolAsyncIterator,
} = primordials;
Apr 18, 2020 20:38
Does anyone know about the mystery of primordials in node.js core!
Apr 18, 2020 20:38
Hey guys
Apr 18, 2020 11:41
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
Apr 18, 2020 11:40
const {
  Array,
  Boolean,
  Error,
  MathMin,
  NumberIsNaN,
  ObjectCreate,
  ObjectDefineProperty,
  ObjectGetPrototypeOf,
  ObjectSetPrototypeOf,
  Promise,
  PromiseReject,
  PromiseResolve,
  ReflectApply,
  ReflectOwnKeys,
  Symbol,
  SymbolFor,
  SymbolAsyncIterator,
} = primordials;
Apr 18, 2020 11:39
my question is the where is the declaration of primordials?
Apr 18, 2020 11:38
This is the events.js core node module.
Apr 18, 2020 11:38
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
Apr 18, 2020 07:59
@CommonMan he did it already
Apr 18, 2020 07:58
const isLoggedIn = this.state.isLoggedIn;
Apr 18, 2020 07:53
@siniradam go on
Apr 18, 2020 07:52
in <Greeting isLoggedIn={this.state.isLoggedIn} />
Apr 18, 2020 07:52
he forgot this.state
Apr 18, 2020 07:43
is it ok?
Apr 18, 2020 07:42
      <Greeting isLoggedIn={this.state.isLoggedIn} />
Apr 18, 2020 07:40
are you using the node environment or stand alone
Apr 18, 2020 07:39
how is your setup?
Apr 18, 2020 07:32
i guess you missed because your code seems to be correct
Apr 18, 2020 07:32
did import reactdom?
Apr 18, 2020 07:29
import React from "react"
Apr 18, 2020 07:27
what error do you received?
Apr 18, 2020 07:25
what do you want to know @CommonMan?
Apr 18, 2020 07:25
?
Apr 18, 2020 06:13
Anyone here?
Apr 18, 2020 06:13
Hello
Apr 16, 2020 21:48
what is the language for the syntax usage here?
Apr 16, 2020 21:47
$ node -h
Usage: node [options] [ script.js ] [arguments]
node inspect [options] [ script.js | host:port ] [arguments]
Apr 16, 2020 21:04
you have to have a proof of your claim
Apr 16, 2020 21:04
because that's a philosophical assertion
Apr 16, 2020 21:03
explain to me how people born with the knowledge
Apr 16, 2020 21:03
@JBis how?
Apr 16, 2020 21:02
yes they acquire it over time
Apr 16, 2020 21:02
Someone can help me?
Apr 16, 2020 20:56
i'm not the one who invent the language
Apr 16, 2020 20:56
how can i born with the knowledge
Apr 16, 2020 20:55
?
Apr 16, 2020 20:55
Hey guys is there any documentation on how i can use ecma script
Apr 16, 2020 03:37
lol
Apr 16, 2020 03:26
sorry i'm using react
Apr 16, 2020 03:25
?
Apr 16, 2020 03:25
@helloworld what do you mean by observable
Apr 16, 2020 03:25
@hell
Apr 16, 2020 03:23
How can understand documantion like this ecma-international.org/ecma-262/10.0/…
Apr 16, 2020 03:19
guys i have a question about ES
Apr 16, 2020 02:11
ah okey so i should see the next implementation in express library itself :)
Apr 16, 2020 02:05
so if i really understand the next() here ended the response.
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Jan 16 23:01
Hello
 

Trash can

Like the recycle bin, but trashier.
Apr 18, 2020 20:39
const {
Array,
Boolean,
Error,
MathMin,
NumberIsNaN,
ObjectCreate,
ObjectDefineProperty,
ObjectGetPrototypeOf,
ObjectSetPrototypeOf,
Promise,
PromiseReject,
PromiseResolve,
ReflectApply,
ReflectOwnKeys,
Symbol,
SymbolFor,
SymbolAsyncIterator,
} = primordials;
Apr 18, 2020 11:39
const {
Array,
Boolean,
Error,
MathMin,
NumberIsNaN,
ObjectCreate,
ObjectDefineProperty,
ObjectGetPrototypeOf,
ObjectSetPrototypeOf,
Promise,
PromiseReject,
PromiseResolve,
ReflectApply,
ReflectOwnKeys,
Symbol,
SymbolFor,
SymbolAsyncIterator,
} = primordials;