Skip to content

Instantly share code, notes, and snippets.

@wthit56
Created March 31, 2016 11:12
Show Gist options
  • Save wthit56/009b4ed5feca14547b5130d4abbef562 to your computer and use it in GitHub Desktop.
Save wthit56/009b4ed5feca14547b5130d4abbef562 to your computer and use it in GitHub Desktop.
var data = { heading: "Page Title", toString: function() { return this.heading + "!"; } };
data + "string" === "Page Title!string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment