JSFiddle - React, Tailwind, and code Playground

by ExplosionPIlls

JavaScript

obj = {
        target: 'li.player a.icon-tag',
        parent: 'ul#drop_list',
        beforeNext: function(){
          console.log(this.target);
        }
      };

obj.beforeNext();