3export const getSharedArgs = () => {
4 const {
5 values: {
6 ['should-clear-markdown']: shouldClearMarkdown = false, 7 },
8 } = parseArgs({
9 options: {
It's unnecessary to use computed properties with literals such as:
var foo = {["a"]: "b"};
The code can be rewritten as:
var foo = {"a": "b"};
var a = { ['0']: 0 };
var a = { ['0+1,234']: 0 };
var a = { [0]: 0 };
var a = { ['x']: 0 };
var a = { ['x']() {} };
var c = { 'a': 0 };
var c = { 0: 0 };
var a = { x() {} };
var c = { a: 0 };
var c = { '0+1,234': 0 };