Which stands for 3 conductors (wire), 18 gauge (awg), rated to 300 Volts. I'm not familiar with rest of the code. But 18 awg won't carry much load. The cheap extension cords are normally 16 awg and the heavy duty ones are 12 awg.
So It really depends on what you are trying to power and also how far away from the outlet it is. So we need some more information to be able to accurately and safely say yes or no to the idea.
So It really depends on what you are trying to power and also how far away from the outlet it is. So we need some more information to be able to accurately and safely say yes or no to the idea.