Shared Ptr Empty Function In Js Example