mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 05:55:36 +02:00
Remove unused return value for testOption
This commit is contained in:
parent
52980ef496
commit
064ce66a5b
@ -638,7 +638,6 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
|
|||||||
* @param {boolean} noReturn whether the resulting value of the property is not returned.
|
* @param {boolean} noReturn whether the resulting value of the property is not returned.
|
||||||
* @param {boolean} isILD whether the resulting value of the property is implementation and locale dependent.
|
* @param {boolean} isILD whether the resulting value of the property is implementation and locale dependent.
|
||||||
* @param {object} extra additional option to pass along, properties are value -> {option: value}.
|
* @param {object} extra additional option to pass along, properties are value -> {option: value}.
|
||||||
* @return {boolean} whether the test succeeded.
|
|
||||||
*/
|
*/
|
||||||
function testOption(Constructor, property, type, values, fallback, testOptions) {
|
function testOption(Constructor, property, type, values, fallback, testOptions) {
|
||||||
var isOptional = testOptions !== undefined && testOptions.isOptional === true;
|
var isOptional = testOptions !== undefined && testOptions.isOptional === true;
|
||||||
@ -750,8 +749,6 @@ function testOption(Constructor, property, type, values, fallback, testOptions)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user