跳至內容

JavaScript

Wikipedia (chū-iû ê pek-kho-choân-su) beh kā lí kóng...

{{Infobox programming language | name = JavaScript | logo = | logo alt = | screenshot = JavaScript screenshot.png | screenshot caption = Screenshot of JavaScript source code | paradigm = Multi-paradigm: event-driven, functional, imperative, procedural, object-oriented programming | designer = Brendan Eich of Netscape initially; others have also contributed to the ECMAScript standard | typing = Dynamic, weak, duck | implementations = V8, JavaScriptCore, SpiderMonkey, Chakra | influenced = ActionScript, AssemblyScript, CoffeeScript, Dart, Haxe, JS++, Objective-J, Opa, TypeScript | license =

| file extensions =

  • .js
  • .cjs
  • .mjs[1]

| file format = | wikibooks = JavaScript | year = 1995 nî 12 goe̍h 4 ji̍t;​ 29 nî í-chêng​ (1995-12-04) [2] | latest release version = ECMAScript 2024[3] 喺維基數據度改 | latest release date = 2024 nîLa̍k-goe̍h nî;​  í-chêng​ (2024 nîLa̍k-goe̍h) | latest preview version = ECMAScript 2025[4] 喺維基數據度改 | latest preview date = 2024 nîSaⁿ-goe̍h nî;​  í-chêng​ (2024 nîSaⁿ-goe̍h) | influenced by = Java,[5][6] Scheme,[6]

Self,[7] AWK,[8] HyperTalk[9]

| website = www.ecma-international.org/publications-and-standards/standards/ecma-262/ }}

JavaScript sī chi̍t khoán ko-chân (high-level), tōng-thài (dynamic), bô-lūi (untyped), thong-e̍k-sek (interpreted) ê têng-sek giân-gí.

I tiāⁿ hông ēng lâi phòe-ha̍p HTML kap CSS chè-chok kiam î-chhî WWW ê lōe-iông, só͘-ū sin-chìn ê liû-lám-khì lóng ē-tàng ti̍t-chiap tián-sī lī-ēng JavaScript sán-seng ê bāng-ia̍h, chóng sī kò-pia̍t ê chi-chhî ū chi̍t kóa sè-hāng chha-pia̍t.

Tsù-kái

  1. "nodejs/node-eps". GitHub. goân-loē-iông tī 2020-08-29 hőng khó͘-pih. 2018-07-05 khòaⁿ--ê. 
  2. Press release announcing JavaScript, "Netscape and Sun announce JavaScript", PR Newswire, December 4, 1995
  3. "ECMAScript® 2024 Language Specification". 2024 nîLa̍k-goe̍h. 2024 nîPeh-goe̍h khòaⁿ--ê. 
  4. "ECMAScript® 2025 Language Specification". 2024 nîSaⁿ-goe̍h. 2024 nîSì-goe̍h khòaⁿ--ê. 
  5. Seibel, Peter (September 16, 2009). Coders at Work: Reflections on the Craft of Programming. ISBN 9781430219484. goân-loē-iông tī December 24, 2020 hőng khó͘-pih. December 25, 2018 khòaⁿ--ê. Eich: The immediate concern at Netscape was it must look like Java. 
  6. 6.0 6.1 "Chapter 4. How JavaScript Was Created". speakingjs.com. goân-loē-iông tī 2020-02-27 hőng khó͘-pih. 2017-11-21 khòaⁿ--ê. 
  7. "Popularity – Brendan Eich". 
  8. "Brendan Eich: An Introduction to JavaScript, JSConf 2010". YouTube. p. 22m. goân-loē-iông tī August 29, 2020 hőng khó͘-pih. November 25, 2019 khòaⁿ--ê. Eich: "function", eight letters, I was influenced by AWK. 
  9. Eich, Brendan (1998). "Foreword". Chū Goodman, Danny. JavaScript Bible (3rd pán.). John Wiley & Sons. ISBN 0-7645-3188-3. LCCN 97078208. OCLC 38888873. OL 712205M. 

Guā-pōo liân-kiat