Skip to content

String.length not inlined in v10 #5480

@cristianoc

Description

@cristianoc

This:

let stringLengthNoSideEffects = String.length("sdkdl")

now produces

var stringLengthNoSideEffects = "sdkdl".length;

while it used to be

var stringLengthNoSideEffects = 5;

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleOld issues that went stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions