objClientCtx.executeQueryAsync( function (sender, args) { var fileVersions = listItemInfo.get_versions(); objClientCtx.load(fileVersions);