    /*

    Siesta 5.3.0
    Copyright(c) 2009-2019 Bryntum AB
    https://bryntum.com/contact
    https://bryntum.com/products/siesta/license

    */
    Role('Siesta.Util.Role.CanDetectES6', {

        has : {
            supportsArrowFunctions : function () {
                return this.canEvaluate('x => x')
            }
        },

        methods : {
            canEvaluate : function (str) {
                try {
                    eval(str)
                    return true
                } catch (e) {
                    return false
                }
            }
        }
    })