0

What is parentheses ?😕

15th Jul 2018, 2:58 AM
Akshat Mehta
Akshat Mehta - avatar
6 ответов
+ 2
Parenthesis are used mainly to pass parameters. Curly brackets for blocks. Square brackets for the array index. Carrot bracket for tags in html and php.
15th Jul 2018, 4:51 AM
Apple Blossom
Apple Blossom - avatar
+ 2
in javascript and many other languages (parentheses) have several uses ... 1. to define a function... function hi() { //code goes here } 2. to run an existing function hi(); 3. to hold an expression in a conditional such as... if ( i===5 ) { // code goes here } 4. where normal math expressions use parentheses such as... 4*(5+10)
16th Jul 2018, 12:16 PM
Lisa F
Lisa F - avatar
0
Parentheses refers to brackets. There are various types of parentheses ( ) { } [ ] < >this one is used in HTML
15th Jul 2018, 3:05 AM
Vedant Bang
Vedant Bang - avatar
0
( or ) : One parenthesis () :Two parentheses [] :Square brackets {}:curly braces <>:larger/smaller (used in html)
15th Jul 2018, 3:13 AM
Paul Grasser
Paul Grasser - avatar