---
title: "Comment by Fiddler on \"Make your libs smaller using private scope in JavaScript\" | Hashnode"
description: "Thank you for posting. I am having a problem with it. IOS 14 shows unexpected private name #s cannot parse class method with private name . So I just need to pa"
url: "https://hashnode.com/posts/make-your-libs-smaller-using-private-scope-in-javascript/61cb2a639d3f4828b7ba450f/comment/63cbe7960a811f9ef11c918c"
---

[Discussion](https://hashnode.com/posts/make-your-libs-smaller-using-private-scope-in-javascript/61cb2a639d3f4828b7ba450f)

Comment [Make your libs smaller using private scope in JavaScript](https://hashnode.com/posts/make-your-libs-smaller-using-private-scope-in-javascript/61cb2a639d3f4828b7ba450f)

[Fiddler](https://hashnode.com/@fiddlesticks)

[Jan 21, 2023](https://hashnode.com/posts/make-your-libs-smaller-using-private-scope-in-javascript/61cb2a639d3f4828b7ba450f/comment/63cbe7960a811f9ef11c918c)

Thank you for posting. I am having a problem with it. IOS 14 shows `unexpected private name #s cannot parse class method with private name`. So I just need to pass --mingle-props=^\_ to solve it?

[Thomas Portelange](https://hashnode.com/@lekoala)

[Jan 21, 2023](https://hashnode.com/posts/make-your-libs-smaller-using-private-scope-in-javascript/61cb2a639d3f4828b7ba450f/comment/63cbe7960a811f9ef11c918c#reply-63cc10140a811f9ef11c9ed3)

yes, replace your private methods (prefixed with #) and prefix them with \_ instead and then use mangle-propos.
