JavaScript typu testowego JavaScript
if(typeof bar === 'string') {
//whatever
}
CollectiveMind
if(typeof bar === 'string') {
//whatever
}