function drawText({ text = "", location: [x, y] = [0, 0], bold = false }) {
// Draw text
}
after formatting document
function drawText( { text = "", location: [x, y]=[0, 0], bold = false }) {
// Draw text
}
- whitespaces before and after
= are removed
- added extra whitespace before
{ in parameters