 Despite the syntactical similarities, they are two different languages.WMLScript does not have objects or array, which JavaScript has.On the other hand, it allows you to declare and include external functions from other scripts.