Calling functions in array index -


short 1 time. why doesn't work?

function identity($x){$x} @(1,2,3)[identity(1)] 

(these work)

identity(1) @(1,2,3)[1] 

you need make execute identity(1) first putting parenthesis.

@(1,2,3)[(identity(1))] 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -