Wai Ting Cheung

Results 7 issues of Wai Ting Cheung

The first argument of ``leftPad`` can be a number and a number can have the value ``NaN``. The following TypeError occurs when ``NaN`` is passed as the first argument. I...

I was looking for the implementation of FVD for PyTorch and I came across your work. I really appreciate your effort in standardizing FVD calculation. I tried to run the...

The [test case](https://github.com/gionkunz/chartist-js/blob/develop/test/spec/spec-core.js#L441) of ``splitIntoSegments`` missed the value of ``null``. If using this array for ``makeValues``, it could not remove the ``null`` value and the following TypeError occurs. ```js var...

I am using [handlebars.js](https://github.com/wycats/handlebars.js), which uses the lexer of jison in the source code. I found out that an invalid template can crash the library at the lexer generated by...

The function ``validateWCAG2Parms`` returns ``{"level":"AA", "size":"small"}`` for invalid parms. Since it is calling ``toUpperCase`` for ``level`` and ``toLowerCase`` for ``size``, if either ``parms.level`` or ``parms.size`` is not of type ``string``...