JSFiddle - React, Tailwind, and code Playground

by Alexey

JavaScript

const character = {
  name: 'Simon',
  getCharacter() {
    return this.name;
  }
};
const giveMeTheCharacterNOW = character.getCharacter;
//How Would you fix this?
console.log('?', giveMeTheCharacterNOW().bind(character)); //this should return 'Simon' bud doesn't