JS
challenger
Home
JavaScript Practice
JavaScript arrays
Sort array by object property
Sort array by object property
Write a function that takes an array of objects as argument. Sort the array by property b in ascending order. Return the sorted array
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console