Skip to content

Instantly share code, notes, and snippets.

Rebecca Yang rebeccaryang

Block or report user

Report or block rebeccaryang

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f11b8dec16f541e14c6c97b34cb52383
// this is what you would do if you liked things to be easy:
// var stringifyJSON = JSON.stringify;
// but you don't so you're going to write it from scratch:
var stringifyJSON = function(obj) {
if(typeof(obj) === "number"){
return "" + obj + "";
You can’t perform that action at this time.