Advertisement
STANAANDREY

func call of obj

Aug 5th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let o = {
  2.     f() {
  3.         console.log('====================================');
  4.         console.log(123);
  5.         console.log('====================================');
  6.     }
  7. }
  8.  
  9. o['f'].call()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement