Detect prefixes / operators from inside the function


function foo($whatever){
  // ... do stuff here

// call the function

Can I find out from within my function if it was called with + (or -, ! etc) ?


The function wasn't called with +. The function was called and then the result was used as an operand for +.

So no.

Need Your Help

Angular Resolve: Variable is not defined

javascript angularjs

I am working with Angular Routes for the first time and I recently posed a question regarding a refresh losing some data, the answer I received was to use resolve. It seems to be the solution I was

Error in Servlet Filter

java servlets servlet-filters

I get below error when chain.doFilter(request, response); executes. This error occours only sometimes.