Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
object destructuring syntax for function arguments
First we define an array containing objects representing an inventory of different foodstuffs. Each food has a type and a quantity.
This page was last modified on Jul 10, 2025 by MDN contributors.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.