One-liner to take some properties from object in ES 6 One-liner to take some properties from object in ES 6 javascript javascript