0

Can all operator return anything in javascript ??

4th Aug 2021, 4:30 PM
Aniket Ganguly
16 Antworten
- 3
Not anything, they just return the result of the first operand using the operator with second operand
4th Aug 2021, 4:43 PM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
What does spread operator return ??
5th Aug 2021, 2:53 AM
Aniket Ganguly
- 1
The spread operator returns all values of the array of string
5th Aug 2021, 3:00 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
If spread operator return something then when I write this code I got syntax error ...... Var array=["aniket",3,4]; Var array1=...array; Console.log(array1); // unexpected token ... is not defiend (I got this error)
5th Aug 2021, 3:06 AM
Aniket Ganguly
- 1
What is shown if you use it like this Console.log((...array));
5th Aug 2021, 3:08 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
I got syntex error ... is not defiend
5th Aug 2021, 3:09 AM
Aniket Ganguly
- 1
Let me try
5th Aug 2021, 3:10 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
Okay
5th Aug 2021, 3:11 AM
Aniket Ganguly
- 1
It's [...array]
5th Aug 2021, 3:15 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
Tell me ur whatsapp no??
5th Aug 2021, 3:17 AM
Aniket Ganguly
5th Aug 2021, 3:17 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
I don't have WhatsApp
5th Aug 2021, 3:17 AM
Eashan Morajkar
Eashan Morajkar - avatar
- 1
Can I know ur whatsapp number ??
5th Aug 2021, 3:18 AM
Aniket Ganguly
- 1
Insta or anything
5th Aug 2021, 3:19 AM
Aniket Ganguly
- 2
There should be square brackets
5th Aug 2021, 3:16 AM
Eashan Morajkar
Eashan Morajkar - avatar