OlesiaBOM,
<script>
const robots = [{core_version: 9}, {core_version: 13}, {core_version: 16}, {core_version: 9}, {core_version: 14}];
const getOutdated = (robots, newVersion) => robots.filter(({core_version}) => core_version < newVersion).map(obj => robots.findIndex (el => el === obj))
document.write(getOutdated(robots, 14))
</script>