8000 `"c"` format does not work as expected · Issue #116 · d3/d3-format · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"c" format does not work as expected #116
Closed
@ethanabrooks

Description

@ethanabrooks

According to the docs:

c - converts the integer to the corresponding unicode character before printing

In my code,

console.log(format("c")(97));

Just prints 97.
I was expecting something along the lines of python:

>>> chr(97)
'a'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0