26
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
27
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml

cross-posted from: https://lemmy.ml/post/185607

Some questions:

  • Would you pay to use MDN?
  • Do you think MDN Plus is more like a Technical support service or a way to restrict content that used to be free?
  • Do you think there are other ways Mozilla can monetize?
28
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
29
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml

cross-posted from: https://lemmy.ml/post/152366

cross-posted from: https://lemmy.ml/post/152365

The book (HTML) uses JavaScript sublanguages that we call Source.

playground

30
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
31
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml

cross-posted from: https://lemmy.ml/post/85715

One of the great advantages of Deno is the absence of a package manager, this section is practically monopolized by two corporations (MS with npm and FB with yarn); Deno has shown itself to be a more independent ecosystem with respect to its counterpart, Node. Do you think that this decision taken by the core team was the right one? would you have preferred it to become a foundation instead of a company? Will it become a more independent solution or will it end up like Node with OpenJS? being a front entity for a few big techs that lobby the ecosystem?

32
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
33
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
34
1
submitted 2 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
35
1
submitted 3 years ago by miguel@lemmy.ml to c/javascript@lemmy.ml
36
1

do you know any website using Lemmy and has a completely different UI? Just curious to know how well it bends to different tastes.

37
1
38
1
submitted 3 years ago* (last edited 3 years ago) by miguel@lemmy.ml to c/javascript@lemmy.ml
39
1
40
1
submitted 3 years ago by dunkin@lemmy.ml to c/javascript@lemmy.ml
41
1

Date object in javascript is used to work with Date and Time.

42
1
submitted 3 years ago by Ottomatias@lemmy.ml to c/javascript@lemmy.ml
43
1

Or InfernoJS components, which Lemmy uses.

44
1
submitted 3 years ago by giteden@lemmy.ml to c/javascript@lemmy.ml
45
1
submitted 3 years ago* (last edited 3 years ago) by AgreeableLandscape@lemmy.ml to c/javascript@lemmy.ml

This is of course assuming you don't have to maintain support for extremely old browsers that actually require semicolons in JavaScript, which you probably don't. Basically, a semicolon and a newline character (edit: I should clarify that I mean the Unix-style LF as opposed to Windows's CRLF, every reasonably modern web browser should understand the former even if it's on Windows) take up the same amount of bytes in both ASCII and UTF-8, so does it really matter if each statement in a minified file is separated by a new line or a semicolon? There is also a benefit to using new lines where it's at least somewhat human readable (albeit without indents) instead of almost completely unreadable if everything was on one line. So why aren't there any minifiers that produce new line separated files?

46
1
47
1
submitted 3 years ago by maakuuu@lemmy.ml to c/javascript@lemmy.ml

Each time I debug JS events I find myself fumbling together event listeners of which I forgot the syntax waaay too often.

It just takes too long.

Recently, I noticed that there is a handy API built into Chrome Developer Tools that makes debugging and logging JS events to the console a brease: The monitorEvents API...

Read how to log all JS events to the console with this new, built-in API.

48
1
49
1
50
1
submitted 3 years ago by jsgohac@lemmy.ml to c/javascript@lemmy.ml

It would be an overstatement to say Microsoft now has an iron grip on JavaScript, a view that is rooted in fear among those who remember the time when Microsoft was openly hostile to open source, Murphy added.

"How you package for Node.js is hardly controlling the future of JavaScript," he said. "Microsoft does have a large play in JavaScript as a whole, but it is an open community."

view more: ‹ prev next ›

JavaScript community

829 readers
1 users here now

A community about JavaScript, the ECMAScript standard, and programs that make use of JS such as Node.js.

founded 4 years ago
MODERATORS