When can 何か be an object?


> 何かおいしいものを作る。  
>  I will make something tasty.

I'm reasonably sure that this is a natural sentence that uses 何か in a way
familiar to me.

I've just been introduced to the possibility of 何か acting as the **object** of
a sentence. In the above sentence it cannot be an object because this spot is
reserved by おいしいもの. I assume 何か works adverbially. But what if I make my
sentence less explicit:

> ? 何か作る  
>  ? 何かを作る  
>  I will make something (unspecified)

Can 何か be the object in this case? In what situations would you do this?




Yes, it can be an object. In other words, it is perfectly fine for を to follow
immediately after 何か:

> 何かを作る

The other option:

> 何か作る

is also valid and would have the same meaning, but it is more informal because
the particle を is omitted.

You can find some example sentences
[here](https://ejje.weblio.jp/sentence/content/%22%E4%BD%95%E3%81%8B%E3%82%92%22).




Yes, it can be an object. In other words, it is perfectly fine for を to follow
immediately after 何か:

> 何かを作る

The other option:

> 何か作る

is also valid and would have the same meaning, but it is more informal because
the particle を is omitted.

You can find some example sentences
[here](https://ejje.weblio.jp/sentence/content/%22%E4%BD%95%E3%81%8B%E3%82%92%22).

