Are function arguments always surrounded by quotations?

1 answer

Answer

1151180

2026-03-24 04:30

+ Follow

JavaScript
JavaScript

No, function arguments are not always surrounded by quotations. Whether or not arguments need quotations depends on the data type being passed. For example, strings should be enclosed in quotes, while numbers and boolean values do not require quotes. In programming languages like Python, JavaScript, or Ruby, the syntax rules dictate when quotations are necessary.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.