Akrosh Gandhi
Akrosh Gandhi
### Component Menu ### Package version 3.0.0-rc.11 ### @microsoft/fast-element version 2.10.2 ### Environment ```shell Windows environment. ``` ### Current Behavior After upgrading @fluentui/web-components from rc.9/rc.10 to rc.11+, we observe significant...
` for (let []; ;) { } ` Above code should throw `Syntax error`as in declaration head the array destructuring pattern does not have initializer.
say for `String(Object(Symbol()));` We throw : `TypeError: Object doesn't support property or method 'ToString'` There were suggestion made in #422 to make it more descriptive.
eg. ``` javascript var a = undefined a[Object(Symbol())] = 10; ``` as `a`is undefined we throw a type error. While throwing, we are trying to get string from that property...
``` javascript function test3() { var k = 1; d = 2; let d; } test3(); ``` Emits ``` ReferenceError: Use before declaration at test3 (e:\chgittest\bug8.js:2:3) at Global code (e:\chgittest\bug8.js:6:1)...
eg. `JsSetCurrentContext` takes `nullptr`as input but the API annotation has only`__In__,`so this raises the preFAST error. There are other APIs which have the same behavior. We need to look at...
``` js (function() { var x = 1; (function() { x = (eval('var x = 20'), 2); console.log(x == 20); // this should be true })(); console.log(x == 2); //...
```js (function() { var arr = [11, 22, 33, 44]; var first = true; arr.reduce(function (a1, a2, a3, a4) { if (first) { first = false; Object.defineProperty(arr, '2', { get...
```js (function() { var v = new Int8Array(2); v[1] = 31; Object.defineProperty(v, 'length', {value : 4}); var ret = v.toLocaleString() console.log(ret); })(); ``` toLocaleString should iterate over the length we...
If we have import and export for a module and if that module is exported as namespace object then we unable to find that export from the namespace object. consider...