Mwansa Matimba Posted on Dec 19, 2022 Can javascript return multiple val? Can javascript return multiple val? Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Gil Fewster Gil Fewster Gil Fewster Follow Web developer, tinkerer, take-aparterer (and, sometimes, put-back-togetherer) Location Melbourne, Australia Work Front End Developer at Art Processors Joined Jul 23, 2019 • Dec 19 '22 Dropdown menu Copy link Hide JavaScript functions can only return one value, but that may be an array with multiple items or an object with multiple properties. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
JavaScript functions can only return one value, but that may be an array with multiple items or an object with multiple properties.