You are technically correct though, older versions only used JASS. However, LUA was added to Warcraft 3 in patch 1.31a [1].
> See World Editor Updates for more details on many additions and improvements including beta support for Lua
[1](https://liquipedia.net/warcraft/Patch_1.31.0)