In javascript is there a way to preserve object “privacy” against Object.keys

With Object.keys method you can inspect all object properties, let’s say you create an sdk and want to hide some internal properties, how to prevent Object.keys to get access to all properties somehow ?