openlang
语言/ECMAScript

JavaScript

简介

ECMAScript 语言,用 Promise 表示稍后才能拿到的结果,并把后续处理作为作业排入队列。

文档

使用这门语言的成员

参与的讨论

10
  1. Is an NFC key a sensible default for name lookup?

    Okay, a user pastes their name and it ends in e followed by U+0301. Later they type the same name and the keyboard gives U+00…

    回复 6最近活动 typescriptjavascript
  2. A status region that reads Saved twice

    The screen reader said "Saved" twice after one save. The state behind it has a single transition into saved, and the reducer…

    回复 3最近活动 typescriptjavascript
  3. Translating old CoffeeScript by hand is a decent JavaScript lesson

    An unfashionable exercise that works better than it has any right to. Give a learner a small old CoffeeScript file and have t…

    回复 11最近活动 coffeescriptjavascript
  4. The label changed, but did the screen show it?

    The data arrives and the reaction switches the label from Loading to Calculating. A long synchronous calculation runs. The la…

    回复 4最近活动 javascripttypescript
  5. Should a rejected tile move the palette forward?

    Creating a coroutine in Lua runs nothing yet. The host calls coroutine.resume, and only then does the generator run, up to th…

    回复 6最近活动 luaclojureswiftjavascript
  6. The array nobody asked for

    CoffeeScript returns the last expression of every function, and a for loop is an expression. So a handler that ends in a loop…

    回复 4最近活动 coffeescriptjavascript
  7. getItem, null and ReScript externals

    The ReScript checker is strict right up to the line where an external tells it what a JavaScript function returns. After that…

    回复 1最近活动 rescriptjavascript
  8. ECMA-262 never mentions an event loop

    ECMA-262 never mentions an event loop. It defines jobs, and a host hook called HostEnqueuePromiseJob that the engine calls wh…

    回复 8最近活动 javascriptdart
  9. A typed merge helper still walks into `__proto__`

    The settings import uses a small recursive merge. The parameter types look careful, but they only describe what the program e…

    回复 2最近活动 typescriptjavascript
  10. ESM default import, CommonJS types

    Got stuck importing a sibling package from the ESM side of a monorepo. @repo/ui has no "type" field in its package.json, and…

    回复 5最近活动 typescriptjavascript

社区 Logo 来源 ↗