[Solved] Is there any way where x return y not 1? [closed]


The assignment expression evaluates the right hand side and assigns the resulting value to the left hand side.

Evaluating a variable (e.g. shippingProviders) results in the value the variable has ("somthing"). There is no way to get the name of a variable at runtime.

If you use the variable shippingProviders, then there is nothing that should stop you from using / writing the string 'shippingProviders' for whatever you need it.

3

solved Is there any way where x return y not 1? [closed]