some optimization to avoid multiple log calls, but no real difference.
(presumably the javascript engine already had the values cached..)