0

can this below be implemented by js?

 var func = function(something){
   console.log('I know it is line **4** call me'); 
 }
 func(something)
kernal_lora
  • 1,115
  • 3
  • 12
  • 25
faace
  • 11
  • 1
  • 4
    Possible duplicate of [How to get JavaScript caller function line number? How to get JavaScript caller source URL?](https://stackoverflow.com/questions/1340872/how-to-get-javascript-caller-function-line-number-how-to-get-javascript-caller) – Bas van Dijk Jul 03 '17 at 06:00
  • Possible duplicate of [How do you find out the caller function in JavaScript?](https://stackoverflow.com/questions/280389/how-do-you-find-out-the-caller-function-in-javascript) – Yosef Weiner Jul 03 '17 at 06:01

0 Answers0