var x = true; var a = x.toString(); var b = x['toString']();