Answers for "airbnb object assignment"

0

airbnb object assignment

const lukeSkywalker = 'Luke Skywalker';

// bad
const obj = {
  lukeSkywalker: lukeSkywalker,
};

// good
const obj = {
  lukeSkywalker,
};
Posted by: Guest on January-29-2021

Browse Popular Code Answers by Language