Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created August 22, 2015 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/7d32d42c09f6618e9705 to your computer and use it in GitHub Desktop.
Save chuck0523/7d32d42c09f6618e9705 to your computer and use it in GitHub Desktop.
(function() {
var log = function(x) {console.log(x)}
var x;
var user = {
name : 'chuck',
age : 24,
lang : 'ja'
};
log(_.isString(user.age)); //false
x = _.keys(user);
//log(x);
y = _.values(user);
//log(y);
z = _.invert(user);
//log(z);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment