Created
August 22, 2015 08:13
-
-
Save chuck0523/7d32d42c09f6618e9705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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