We're updating the issue view to help you get more done. 

If .startsWith (or any other method) is used on a clojurescript string object when using :optimizarions :advanced code does not work

Description

This is a minimal project HelloWorld (I am attaching a full project "minimal.tgz"):
(ns minimal.core)

(let [elem (.getElementById js/document "app")]
(set! (.-innerHTML elem) (str "Hello World " (.. "Hello" (startsWith "H")))))

Will run fine with no optimizarions but when using :advanced I get: Uncaught TypeError: "Hello".Lb is not a function

Environment

MAC OS

Status

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

1.7.48

Priority

Major