I don't know. But I'm always willing to speculate!
An occasionally helpful but often counter-productive scenario. But that you identified your potential ignorance is a good sign.
Steel wire welded together, with chrome plating that might have worn away. That would describe both fridge shelves and BBQ grilles, really.
Stainless steel is not the same thing as chromed steel. Chromed steel is a chemical plating process. Chromed steel, car parts for example, are much shinier, brighter/whiter, more of a mirror finish. Stainless steel is a metallurgical result of alloying some metals (including chromium) with iron.
Stainless steel is not a coating. If you took anything stainless and cut through it, it would be stainless all the way through. It does not and cannot wear (wear 'off' anyway) because it's not a surface plating. If you wear it off, there's just more of the same underneath.
There is something called "hexavalent chromium" IIRC, which is produced in very minor amounts by stainless welding, and is poisonous/carcinogenic, particularly to lungs and.. liver or kidneys. Should have a fan on if welding a lot of stainless. Occupational danger, not so much a casual one. But Chromium 6+ requires welding temperatures.. I.E. 25,000'F plasma arcs or whatnot. Not BBQ temps of perhaps 1500'F or whatever they'll peak at (and often much less, around oven temps). Somewhere between the two you can elevate Chromium that high, lesser chromiums aren't as dangerous.
I've seen stainless racks on BBQs. I've also seen the black stuff, not sure what material that is, if it's powdercoated steel (like the rest of the inside of the BBQ) or maybe just flame-stained stainless.
Stainless liquifies around 2700'F, but will obviously lose strength and sag below that. You're *probably* just fine using ones from fridges, though, Scodi is right, they're a bit thin to be holding up under weight when hot. Stainless oven racks would be a much better choice, as I've seen those are more like 1/4" than 1/16" for the cross members you'll find in fridges. Old shopping carts (stealing is bad, mmkay?) are in between, 1/8" and would probably be fine.