133572d8f2951d234572a0b4b5e5a7d0dda0958c
[platform/framework/web/crosswalk-tizen.git] /
1 define(['../lang/isFunction'], function (isFunction) {
2
3     function result(obj, prop) {
4         var property = obj[prop];
5
6         if(property === undefined) {
7             return;
8         }
9
10         return isFunction(property) ? property.call(obj) : property;
11     }
12
13     return result;
14 });