mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	|  2172e51246 This implements the missing step 6a of 14.7.5.6 ForIn/OfHeadEvaluation:
    a. If exprValue is undefined or null, then
        i. Return Completion { [[Type]]: break, [[Value]]: empty, [[Target]]: empty }.
In other words, this should just do nothing instead of throwing during
the undefined to object coercion:
    for (const x in undefined); | ||
|---|---|---|
| .. | ||
| break-basic.js | ||
| continue-basic.js | ||
| do-while-basic.js | ||
| for-basic.js | ||
| for-head-errors.js | ||
| for-in-basic.js | ||
| for-no-curlies.js | ||
| for-of-basic.js | ||
| for-scopes.js | ||
| while-basic.js | ||