D
D
Denis2014-11-20 21:20:18
JavaScript
Denis, 2014-11-20 21:20:18

The nuance of the switch in javascript: two expressions in swtch (exp, exp2), why?

Dobroden.
I'm parsing slightly shrunk and obfuscated code.
I found a similar construction there:
switch($b = $c, $var) {
Is it equivalent to the expressions:

$b = $c;
switch($var) {

Or does it have some other meaning?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2014-11-20
@Ayahuaska

habrahabr.ru/post/116827

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question