これは簡単な用語であることは知っていますが、Google 検索では取得できません... 割り当てられている変数の値が通過するときに何と呼ばれますか?
PHP での例:
<?php
if($bob = 5){ echo 'The assignment came through as a truthy value!, bob now equals '.$bob.'!'; }
if($bob = false){ echo 'The assignment occurred again, but the value of the assignment is the value "false", so this if block will not be executed!. Bob now equals '.$bob.'!'; }
echo ' Finally, bob is a: '.(string) $bob;
?>
JavaScript での例:
bob = bob || {};