1 Reply Latest reply on Oct 20, 2010 10:33 PM by Radhakrishna Bhat

    Variable declared with interface type does not offer functions of Object in content assist

    TomBurgundy Level 1



      When I declare a variable such as


      var whatever:ISomeInterface;


      then FB does not offer functions declared in type Object, such as hasOwnProperty, for that variable.


      I have to cast to Object. What's the point of this? Can interfaces be implemented by something else than Objects?