Melt the butter in a small saucepan over a low heat. Once melted, add the garlic and turn up the heat to high until the butter starts bubbling and turning golden. As soon as the butter browns and smells biscuity, remove from the heat and transfer to a jug.
Heat the barbecue or a griddle pan. Add the corn cobs, and keep brushing with the garlic butter every time you turn them. Once charred and cooked, remove to a board.
Using a sharp knife, cut downwards to remove the kernels from each cob. Put all the corn in a serving dish and toss with the parsley. Coat in the remaining garlic butter and serve.