JS parseBool()
Khamis, 6 November 2014, 8:42 pm0
This function cast any variable into type ‘boolean’
function parseBool(value) { return !!value; } console.log(typeof parseBool({})); // “boolean"
Lazyloading JS modules in Titanium app
1 November 2014
Khamis, 6 November 2014, 8:42 pm0
This function cast any variable into type ‘boolean’
function parseBool(value) { return !!value; } console.log(typeof parseBool({})); // “boolean"
Lazyloading JS modules in Titanium app
1 November 2014