UNPKG

243 BJavaScriptView Raw
1export default function getMenuItemId() {
2 var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
3 var position = arguments.length > 1 ? arguments[1] : undefined;
4 return "".concat(id, "-item-").concat(position);
5}
\No newline at end of file