<commit_before><commit_msg>another &&/|| test to see if the result is a bool or the actual value.<commit_after>
var obj1 = { foo: "hi" };
var obj2 = null;

console.log (obj1 && obj1.foo || "bye");
console.log (obj2 && obj2.foo || "bye");
{'fraction_non_alphanumeric': 0.18143459915611815, 'fraction_numerical': 0.02531645569620253, 'mean_word_length': 4.288888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4460476', 'n_tokens_mistral': 85, 'n_tokens_neox': 83, 'n_words': 29}