Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Point out the correct statement?

a) You can also use the $ operator to extract elements by name
b) $ operator can be used with computed indices
c) The [[ operator can only be used with literal names
d) $ operator semantics are similar to that of [[

Answer: a
Explanation: You don’t need the quotes when you use the $ operator.

Join The Discussion