Unwanted Surprises.
The article provides an answer to a question concerning JavaScript's type coercion in timeout functions, highlighting the API's unexpected and potentially problematic behavior of silently converting non-numeric inputs into numbers, and advocates for stricter error handling and cautious programming p...
| Published in: | Communications of the ACM Vol. 67; no. 12; pp. 35 - 37 |
|---|---|
| Main Author: | |
| Format: | Question & Answer |
| Published: |
Association for Computing Machinery
Dec2024
|
| Subjects: | |
| Online Access: | View this record in EBSCOhost |
| fields | @attributes: recordID: 1 pdfLink: plink: https://search.ebscohost.com/login.aspx?direct=true&db=hlh&AN=181072038&site=ehost-live header: @attributes: shortDbName: hlh uiTerm: 181072038 longDbName: Humanities International Complete uiTag: AN controlInfo: bkinfo: jinfo: jid: 00010782 ACM jtl: Communications of the ACM issn: 00010782 maglogo: N pubinfo: dt: Dec2024 vid: 67 iid: 12 pid: 68 pub: Association for Computing Machinery artinfo: ui: 181072038 10.1145/3699526 ppf: 35 ppct: 2 formats: tig: atl: Unwanted Surprises. aug: au: Neville-Neil, George V. affil: Neville-Neil Consulting, Brooklyn, NY, USA su: JavaScript programming language Integers Application program interfaces Time sug: subj: JavaScript programming language Integers Application program interfaces Time ab: The article provides an answer to a question concerning JavaScript's type coercion in timeout functions, highlighting the API's unexpected and potentially problematic behavior of silently converting non-numeric inputs into numbers, and advocates for stricter error handling and cautious programming practices to mitigate such issues. pubtype: Periodical doctype: Question & Answer src: R language: English refInfo: copyright: @attributes: flag: Y dt: @attributes: year: 2024 holdings: @attributes: islocal: N |
|---|