[Yanfly Item Synthesis] How to make multiple items with just one item?

Hey gang, I'm using Yanfly's Item Synthesis plugin and it's worling fine. What caught my interest was this line in the help section:

Code:
<Custom Synthesis Effect>
 var bottle = $dataItems[123];
 $gameParty.gainItem(bottle, 2);
</Custom Synthesis Effect>

  For this notetag, the 'item' variable will refer to the item being
  synthesized. Changing it will do nothing but it will be used as a
  convenience variable to refer to it.

I thought this would be a neat idea to make multiple items from one item synthesis so I added it to the item but it doesn't seem to have any effect. This is the code I'm using:

Code:
<Custom Synthesis Effect>
  var Vitamin X = $dataItems[76];
  $gameParty.gainItem(Vitamin X, 3);
</Custom Synthesis Effect>

Vitamin X is the item I want add more of when synthesizing and $dataitems[76] is it's ID. Aim I doing something wrong or aim I misreading the description.
I would assume it's because you put a space in var Vitamin X, instead of var VitaminX or whatever.
Holy crap why didn't I think of that. I was just going off how I had it in the database and forgot javascript doesn't do spaces. Thank you so much for the help!
Holy crap why didn't I think of that. I was just going off how I had it in the database and forgot javascript doesn't do spaces. Thank you so much for the help!
If you don't want to change the name of your item you can use this code:

$gameParty.gainItem($dataItems[76], 4);

you do not need to use the

var Vitamin X = $dataItems[76];

@Iohiko, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-item-synthesis-how-to-make-multiple-items-with-just-one-item.118602/